Merge pull request #985 from tcely/patch-2

Use the default locale before the new one is ready
This commit is contained in:
meeb 2025-04-24 13:06:31 +10:00 committed by GitHub
commit ecfcf7d6ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,9 +48,11 @@ RUN --mount=type=cache,id=apt-lib-cache-${TARGETARCH},sharing=private,target=/va
set -x && \
apt-get update && \
# Install locales
LC_ALL='C.UTF-8' LANG='C.UTF-8' LANGUAGE='C.UTF-8' \
apt-get -y --no-install-recommends install locales && \
# localedef -v -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
printf -- "en_US.UTF-8 UTF-8\n" > /etc/locale.gen && \
locale-gen en_US.UTF-8 && \
locale-gen && \
# Clean up
apt-get -y autopurge && \
apt-get -y autoclean && \