Skip to content

Commit c531613

Browse files
jojochuangiwasakims
authored andcommitted
HADOOP-17718. Explicitly set locale in the Dockerfile. (#3034)
Reviewed-by: Akira Ajisaka <[email protected]> (cherry picked from commit ad923ad) Conflicts: dev-support/docker/Dockerfile_centos_7 dev-support/docker/Dockerfile_centos_8 (cherry picked from commit 5e09d38) Conflicts: dev-support/docker/Dockerfile_aarch64
1 parent 523bb2e commit c531613

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dev-support/docker/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ RUN apt-get -q update \
8585
&& apt-get clean \
8686
&& rm -rf /var/lib/apt/lists/*
8787

88+
RUN locale-gen en_US.UTF-8
89+
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
90+
ENV PYTHONIOENCODING=utf-8
91+
8892
######
8993
# Set env vars required to build Hadoop
9094
######

0 commit comments

Comments
 (0)