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:
commit
017da873ce
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue