use C.UTF-8 as locale
This commit is contained in:
parent
0b5875bb8b
commit
8d995e4427
|
@ -18,10 +18,14 @@ RUN true \
|
||||||
&& echo root:${ROOT_PASSWD} | chpasswd \
|
&& echo root:${ROOT_PASSWD} | chpasswd \
|
||||||
\
|
\
|
||||||
&& apt update \
|
&& apt update \
|
||||||
&& apt install --yes ssh tini zsh netcat file neovim git \
|
&& apt install --yes ssh tini zsh netcat file neovim git locales \
|
||||||
&& apt clean \
|
&& apt clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
\
|
\
|
||||||
|
&& sed -i '/C.UTF-8/s/^# //g' /etc/locale.gen \
|
||||||
|
&& locale-gen \
|
||||||
|
&& update-locale LANG=C.UTF-8 \
|
||||||
|
\
|
||||||
&& usermod --shell /usr/bin/zsh root \
|
&& usermod --shell /usr/bin/zsh root \
|
||||||
\
|
\
|
||||||
&& mkdir /run/sshd \
|
&& mkdir /run/sshd \
|
||||||
|
|
Loading…
Reference in a new issue