diff --git a/.install/bin/pdm-launch b/.install/bin/pdm-launch index 696689c..1749ce4 100755 --- a/.install/bin/pdm-launch +++ b/.install/bin/pdm-launch @@ -76,5 +76,5 @@ if [[ $opt_force -eq 1 ]]; then podman rm -i -f "$container" fi -podman run -itd --name "$container" --hostname "$container" $deployconf "$image" +podman run -itd --tz=local --name "$container" --hostname "$container" $deployconf "$image" echo "Done!" diff --git a/debian/Containerfile b/debian/Containerfile index ada1f7c..9fa8a33 100644 --- a/debian/Containerfile +++ b/debian/Containerfile @@ -1,4 +1,3 @@ -#FROM debian:stable FROM docker.io/library/debian:latest CMD [ "/sbin/init" ] ENTRYPOINT [ "/sbin/init" ] @@ -15,13 +14,6 @@ ONBUILD SHELL ["/bin/bash", "-c"] # non-interactively for child images ONBUILD ENV BASH_ENV=/etc/environment -# We can't use timedatectl because systemd isn't available -# during the build process, so we have to set the timezone manually -ENV TZ=US/Eastern -RUN rm /etc/localtime && \ - ln -s /usr/share/zoneinfo/$TZ /etc/localtime && \ - echo $TZ > /etc/timezone - # Install packages RUN apt update -y && \ apt upgrade -y && \