You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by iw...@apache.org on 2022/04/14 02:47:25 UTC

[hadoop] branch branch-2.10 updated: HADOOP-17718. Explicitly set locale in the Dockerfile. (#3034)

This is an automated email from the ASF dual-hosted git repository.

iwasakims pushed a commit to branch branch-2.10
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-2.10 by this push:
     new 9a687f4e4ba HADOOP-17718. Explicitly set locale in the Dockerfile. (#3034)
9a687f4e4ba is described below

commit 9a687f4e4ba284ad661093b1bab2a22c27931ceb
Author: Wei-Chiu Chuang <we...@apache.org>
AuthorDate: Fri May 21 09:26:50 2021 -0700

    HADOOP-17718. Explicitly set locale in the Dockerfile. (#3034)
    
    Reviewed-by: Akira Ajisaka <aa...@apache.org>
    (cherry picked from commit ad923ad5642b2b11357fbee4277f3435300a19c5)
    
    Conflicts:
            dev-support/docker/Dockerfile_centos_7
            dev-support/docker/Dockerfile_centos_8
    (cherry picked from commit 5e09d38b2505db70c712b8b6c93635220325156f)
    
    Conflicts:
            dev-support/docker/Dockerfile_aarch64
    (cherry picked from commit c531613cc9a52c9348ec11a93317be41f674d4d7)
    
    Conflicts:
            dev-support/docker/Dockerfile
---
 dev-support/docker/Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index fb9e4809898..c6cbcb64c33 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -84,6 +84,10 @@ RUN apt-get -q update \
     && apt-get clean \
     && rm -rf /var/lib/apt/lists/*
 
+RUN locale-gen en_US.UTF-8
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+ENV PYTHONIOENCODING=utf-8
+
 #######
 # OpenJDK 8
 #######


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org