Skip to content

Commit 4b1918b

Browse files
author
nick
committed
fix: docker build - cannot change locale warnings
- Legacy-Id: 19581
1 parent ba7e43e commit 4b1918b

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)