Update Dockerfile
This commit is contained in:
parent
eb258b0e81
commit
e996bd5a21
11
Dockerfile
11
Dockerfile
@ -15,12 +15,11 @@ RUN mkdir /var/run/sshd && \
|
|||||||
sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd && \
|
sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd && \
|
||||||
echo "export VISIBLE=now" >> /etc/profile
|
echo "export VISIBLE=now" >> /etc/profile
|
||||||
|
|
||||||
# Set the locale
|
# Set the timezone and locale
|
||||||
RUN DEBIAN_FRONTEND=noninteractive TZ=CET apt-get -y install tzdata
|
RUN apt-get install -yq tzdata && \
|
||||||
RUN locale-gen en_US.UTF-8
|
ln -fs /usr/share/zoneinfo/Europe/Stockholm /etc/localtime && \
|
||||||
ENV LANG en_US.UTF-8
|
dpkg-reconfigure -f noninteractive tzdata && \
|
||||||
ENV LANGUAGE en_US:en
|
locale-gen "en_US.UTF-8"
|
||||||
ENV LC_ALL en_US.UTF-8
|
|
||||||
|
|
||||||
# Expose the SSH port
|
# Expose the SSH port
|
||||||
EXPOSE 22
|
EXPOSE 22
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user