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/03/10 10:12:25 UTC

[hadoop] branch branch-3.2.3 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-3.2.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


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

commit b3a75fd00f5cab38933f1a730b36ba77390310c7
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)
---
 dev-support/docker/Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index bb06723..2c7015c 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -85,6 +85,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
+
 ######
 # Set env vars required to build Hadoop
 ######

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