diff --git a/Dockerfile b/Dockerfile index c866011..105b0e0 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 && \ - TZ=Etc/CET apt-get install -y openssh-server git sudo udev software-properties-common locales tzdata + apt-get install -y openssh-server git sudo udev software-properties-common locales # Create user and set password for user and root user ARG CODE_PASSWORD @@ -16,6 +16,8 @@ RUN mkdir /var/run/sshd && \ echo "export VISIBLE=now" >> /etc/profile # Set the locale +RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/CET apt-get -y install tzdata + USER code RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ locale-gen