Update Dockerfile

This commit is contained in:
Christoffer Martinsson 2024-04-13 20:43:54 +02:00
parent dc4c51e144
commit 08d9a10b9f

View File

@ -17,14 +17,10 @@ RUN mkdir /var/run/sshd && \
# Set the locale
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/CET apt-get -y install tzdata
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen
USER code
ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8
ENV LANGUAGE en_US:en
USER root
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
# Expose the SSH port
EXPOSE 22