Skip to content

Commit b67a95e

Browse files
authored
Update Dockerfile to include locale settings
Added musl-locales and locale environment variables to Dockerfile.
1 parent d00cca0 commit b67a95e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,13 @@ RUN apk update && apk add --no-cache \
2424
ncurses \
2525
rsync \
2626
inotify-tools \
27-
sed
27+
sed \
28+
musl-locales
2829

30+
ENV LANG=C.UTF-8
31+
ENV LC_ALL=C.UTF-8
32+
33+
RUN printf 'export LANG=C.UTF-8\nexport LC_ALL=C.UTF-8\n' > /etc/profile.d/locale.sh
2934
# Install yarn and Pterodactyl dependencies, as well as update browserlist
3035
RUN for i in {1..3}; do \
3136
npm install -g yarn && \

0 commit comments

Comments
 (0)