Merged in [19581] from nick@staff.ietf.org:

fix: docker build - cannot change locale warnings
 - Legacy-Id: 19601
Note: SVN reference [19581] has been migrated to Git commit 4b1918b79d
This commit is contained in:
Robert Sparks 2021-11-09 20:57:08 +00:00
commit 017da873ce

View file

@ -72,6 +72,9 @@ RUN apt-get -y update && \
rm -rf /var/lib/apt/lists/*
# 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 && \
locale-gen en_US.UTF-8 && \
update-locale LC_ALL en_US.UTF-8