From e6337a497f9f11574f44713cb5080f4be6b4ccea Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sun, 18 Sep 2022 14:06:54 +0200 Subject: [PATCH] feat: install locales + configure en_US.UTF-8 locale --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4feb282..873c89c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ RUN set -eux && \ DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ openssh-server \ + locales \ curl \ telnet \ net-tools \ @@ -12,7 +13,10 @@ RUN set -eux && \ vim \ && \ 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 /