Skip to content

Commit

Permalink
HADOOP-17718. Explicitly set locale in the Dockerfile. (#3034)
Browse files Browse the repository at this point in the history
Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
(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
  • Loading branch information
jojochuang authored and iwasakims committed Mar 10, 2022
1 parent 523bb2e commit c531613
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev-support/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
######
Expand Down

0 comments on commit c531613

Please sign in to comment.