1
0

feat: install locales + configure en_US.UTF-8 locale

This commit is contained in:
Pim van den Berg 2022-09-18 14:06:54 +02:00
parent 699498fe2c
commit e6337a497f

View File

@ -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 /