Set locales properly

This commit is contained in:
Kristóf Tóth 2018-05-24 20:34:26 +02:00
parent 9031a06898
commit 59c7261547

View File

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