fix: docker build - cannot change locale warnings

- Legacy-Id: 19581
This commit is contained in:
nick 2021-11-09 12:45:09 +00:00
parent ba7e43ec31
commit 4b1918b79d

View file

@ -72,6 +72,9 @@ RUN apt-get -y update && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
# Set locale to en_US.UTF-8 # Set locale to en_US.UTF-8
RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment && \
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
echo "LANG=en_US.UTF-8" > /etc/locale.conf
RUN dpkg-reconfigure locales && \ RUN dpkg-reconfigure locales && \
locale-gen en_US.UTF-8 && \ locale-gen en_US.UTF-8 && \
update-locale LC_ALL en_US.UTF-8 update-locale LC_ALL en_US.UTF-8