airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fo...@apache.org
Subject [incubator-airflow-ci] 15/34: Set up locale
Date Sun, 19 Aug 2018 18:25:16 GMT
This is an automated email from the ASF dual-hosted git repository.

fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-airflow-ci.git

commit 3ea95b6a137efa692454e62b4ae845dc7ba90eb0
Author: Gerardo Curiel <gerardo.curiel@rea-group.com>
AuthorDate: Thu May 17 18:58:53 2018 +1000

    Set up locale
---
 Dockerfile.base | 43 ++++++++++++++++++++++++++-----------------
 1 file changed, 26 insertions(+), 17 deletions(-)

diff --git a/Dockerfile.base b/Dockerfile.base
index 9341363..dd0a220 100644
--- a/Dockerfile.base
+++ b/Dockerfile.base
@@ -21,25 +21,34 @@
 FROM ubuntu:xenial
 
 ENV DEBIAN_FRONTEND noninteractive
+ENV LANGUAGE en_US.UTF-8
+ENV LANG en_US.UTF-8
+ENV LC_ALL en_US.UTF-8
+ENV LC_CTYPE en_US.UTF-8
+ENV LC_MESSAGES en_US.UTF-8
 
 RUN apt-get update && apt-get install -y \
-    openjdk-8-jdk \
-    wget curl \
-    python-pip \
-    python3-pip \
-    git \
-    unzip \
-    sudo \
-    ldap-utils \
-    mysql-client-core-5.7 \
-    mysql-client-5.7 \
-    libmysqlclient-dev \
-    postgresql-client \
-    libkrb5-dev \
-    libsasl2-dev \
-    krb5-user \
-    openssh-client \
-    python-selinux
+      openjdk-8-jdk \
+      wget curl \
+      python-pip \
+      python3-pip \
+      git \
+      unzip \
+      sudo \
+      ldap-utils \
+      mysql-client-core-5.7 \
+      mysql-client-5.7 \
+      libmysqlclient-dev \
+      postgresql-client \
+      libkrb5-dev \
+      libsasl2-dev \
+      krb5-user \
+      openssh-client \
+      python-selinux \
+      locales \
+    && sed -i 's/^# en_US.UTF-8 UTF-8$/en_US.UTF-8 UTF-8/g' /etc/locale.gen \
+    && locale-gen \
+    && update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
 
 RUN pip install --upgrade pip && \
     hash -r pip && \


Mime
View raw message