adding utf8 locale to dockerfile (PR #6011)

This commit is contained in:
SS 2019-11-06 17:56:53 -05:00 committed by Stefano Bonicatti
parent b19eecbe0d
commit bc62339656

View File

@ -24,6 +24,7 @@ RUN apt update -q -y && apt upgrade -q -y && apt install -q -y --no-install-reco
dpkg-dev \
file \
elfutils \
locales \
&& dpkg -i linux-base_1.0_all.deb linux-firmware_1.0_all.deb linux-generic_1.0_all.deb \
&& apt clean && rm -rf /var/lib/apt/lists/* \
&& sudo pip install timeout_decorator
@ -31,3 +32,5 @@ RUN cd ~ && wget https://github.com/Kitware/CMake/releases/download/v3.14.6/cmak
&& sudo tar xvf cmake-3.14.6-Linux-x86_64.tar.gz -C /usr/local --strip 1 && rm cmake-3.14.6-Linux-x86_64.tar.gz \
&& wget https://github.com/osquery/osquery-toolchain/releases/download/1.0.0/osquery-toolchain-1.0.0.tar.xz \
&& sudo tar xvf osquery-toolchain-1.0.0.tar.xz -C /usr/local && rm osquery-toolchain-1.0.0.tar.xz
RUN locale-gen en_US.UTF-8
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'