HADOOP-17718. Explicitly set locale in the Dockerfile. (#3034)
Reviewed-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
parent
d146ab3af7
commit
ad923ad564
|
@ -85,6 +85,10 @@ RUN apt-get -q update \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& 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
|
# Set env vars required to build Hadoop
|
||||||
######
|
######
|
||||||
|
|
|
@ -89,6 +89,10 @@ RUN apt-get -q update \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& 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
|
# Set env vars required to build Hadoop
|
||||||
######
|
######
|
||||||
|
|
|
@ -93,6 +93,10 @@ RUN mkdir -p /opt/zstd /tmp/zstd \
|
||||||
&& make install \
|
&& make install \
|
||||||
&& cd /root || exit
|
&& cd /root || exit
|
||||||
|
|
||||||
|
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
|
# Set env vars required to build Hadoop
|
||||||
######
|
######
|
||||||
|
|
|
@ -110,6 +110,10 @@ RUN mkdir -p /opt/zstd /tmp/zstd \
|
||||||
&& make install \
|
&& make install \
|
||||||
&& cd /root || exit
|
&& cd /root || exit
|
||||||
|
|
||||||
|
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
|
# Set env vars required to build Hadoop
|
||||||
######
|
######
|
||||||
|
|
Loading…
Reference in New Issue