Update Dockerfile
This commit is contained in:
parent
dc4c51e144
commit
08d9a10b9f
12
Dockerfile
12
Dockerfile
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user