From 59c7261547906ed1bd01906634d4158606d0d842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Thu, 24 May 2018 20:34:26 +0200 Subject: [PATCH] Set locales properly --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5258ae7..f231bd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,14 @@ FROM debian:unstable COPY . / +RUN export DEBIAN_FRONTEND=noninteractive &&\ + apt-get update &&\ + apt-get install -y locales +RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen &&\ + dpkg-reconfigure --frontend=noninteractive locales &&\ + update-locale LANG=en_US.UTF-8 +ENV LANG en_US.UTF-8 + RUN export DEBIAN_FRONTEND=noninteractive &&\ apt-get update &&\ apt-get install -y \