From abbc545e83fd76bafa80267111dd3a1c01d39d2d Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Sat, 13 Apr 2024 20:30:09 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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