diff options
Diffstat (limited to 'provisioning/Dockerfile')
-rw-r--r-- | provisioning/Dockerfile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/provisioning/Dockerfile b/provisioning/Dockerfile index d1b6e0bf..3d969cc1 100644 --- a/provisioning/Dockerfile +++ b/provisioning/Dockerfile @@ -35,6 +35,20 @@ RUN apt-key adv --keyserver pool.sks-keyservers.net --recv-key 1E34A1828E207901 # Update packages lists RUN apt-get update -y --force-yes +# Set the locale +# Install program to configure locales +RUN apt-get install -y locales +RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales && \ + locale-gen C.UTF-8 && \ + /usr/sbin/update-locale LANG=C.UTF-8 +# Install needed default locale for Makefly +RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && \ + locale-gen +# Set default locale for the environment +ENV LC_ALL C.UTF-8 +ENV LANG en_US.UTF-8 +ENV LANGUAGE en_US.UTF-8 + # Install pip for taskthread dependency (no backport yet) RUN apt-get install python-pip python-all-dev libssl-dev RUN pip install taskthread |