Fix setting locale for ubuntu

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2019-08-26 22:51:43 +02:00
parent f49a5e14b1
commit bdb4111dd7
2 changed files with 4 additions and 2 deletions

View file

@ -3,7 +3,7 @@ FROM ubuntu:16.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y build-essential cmake git uuid-dev libgnutls28-dev libfaketime man
RUN apt-get install -y build-essential cmake git uuid-dev libgnutls28-dev libfaketime man locales
RUN apt-get install -y python
RUN apt-get install -y tzdata
@ -16,6 +16,7 @@ RUN dpkg-reconfigure -f noninteractive tzdata
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
RUN locale-gen "en_US.UTF-8"
# Setup timewarrior
ADD . /root/code/

View file

@ -3,7 +3,7 @@ FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y build-essential cmake git uuid-dev libgnutls28-dev libfaketime man
RUN apt-get install -y build-essential cmake git uuid-dev libgnutls28-dev libfaketime man locales
RUN apt-get install -y python
RUN apt-get install -y tzdata
@ -16,6 +16,7 @@ RUN dpkg-reconfigure -f noninteractive tzdata
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
RUN locale-gen "en_US.UTF-8"
# Setup timewarrior
ADD . /root/code/