Skip to content

Commit 017da87

Browse files
committed
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 4b1918b
2 parents 85503f8 + 4b1918b commit 017da87

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docker/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ RUN apt-get -y update && \
7272
rm -rf /var/lib/apt/lists/*
7373

7474
# Set locale to en_US.UTF-8
75+
RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment && \
76+
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
77+
echo "LANG=en_US.UTF-8" > /etc/locale.conf
7578
RUN dpkg-reconfigure locales && \
7679
locale-gen en_US.UTF-8 && \
7780
update-locale LC_ALL en_US.UTF-8

0 commit comments

Comments
 (0)