diff --git a/Dockerfile b/Dockerfile index 8bf41bb..c866011 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ USER root # Update the system, install OpenSSH Server, and set up users RUN apt-get update && apt-get upgrade -y && \ - apt-get install -y openssh-server git sudo udev software-properties-common locales tzdata + TZ=Etc/CET apt-get install -y openssh-server git sudo udev software-properties-common locales tzdata # Create user and set password for user and root user ARG CODE_PASSWORD @@ -16,7 +16,6 @@ RUN mkdir /var/run/sshd && \ echo "export VISIBLE=now" >> /etc/profile # Set the locale -RUN ln -s -f /usr/share/zoneinfo/CET /etc/localtime USER code RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ locale-gen