HADOOP-17718. Explicitly set locale in the Dockerfile. (#3034)
Reviewed-by: Akira Ajisaka <aajisaka@apache.org> (cherry picked from commitad923ad564
) Conflicts: dev-support/docker/Dockerfile_centos_7 dev-support/docker/Dockerfile_centos_8 (cherry picked from commit5e09d38b25
) Conflicts: dev-support/docker/Dockerfile_aarch64
This commit is contained in:
parent
523bb2efc3
commit
c531613cc9
|
@ -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
|
||||
######
|
||||
|
|
Loading…
Reference in New Issue