feat: install locales + configure en_US.UTF-8 locale
This commit is contained in:
parent
699498fe2c
commit
e6337a497f
@ -5,6 +5,7 @@ RUN set -eux && \
|
|||||||
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
|
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||||
openssh-server \
|
openssh-server \
|
||||||
|
locales \
|
||||||
curl \
|
curl \
|
||||||
telnet \
|
telnet \
|
||||||
net-tools \
|
net-tools \
|
||||||
@ -12,7 +13,10 @@ RUN set -eux && \
|
|||||||
vim \
|
vim \
|
||||||
&& \
|
&& \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
rm /etc/ssh/ssh_host_*key*
|
rm /etc/ssh/ssh_host_*key* && \
|
||||||
|
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && \
|
||||||
|
/usr/sbin/locale-gen && \
|
||||||
|
/usr/sbin/update-locale 'LANG=en_US.UTF-8'
|
||||||
|
|
||||||
ADD start.sh /
|
ADD start.sh /
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user