From 187ecd1d2a3bfbf0ae7079b7fb835e91cb4d142e Mon Sep 17 00:00:00 2001 From: Sculas Date: Thu, 12 Dec 2024 20:53:01 +0100 Subject: [PATCH 1/2] fix: install missing language pack for GraalVM Fixes #2487. Also sets `LC_ALL` to `en_US.UTF-8`. --- Dockerfile | 2 +- build/ol/install-packages.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 28907ab79d2..9e956a1e1aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,7 +64,7 @@ WORKDIR /data STOPSIGNAL SIGTERM # End user MUST set EULA and change RCON_PASSWORD -ENV TYPE=VANILLA VERSION=LATEST EULA="" UID=1000 GID=1000 +ENV TYPE=VANILLA VERSION=LATEST EULA="" UID=1000 GID=1000 LC_ALL=en_US.UTF-8 COPY --chmod=755 scripts/start* / COPY --chmod=755 bin/ /usr/local/bin/ diff --git a/build/ol/install-packages.sh b/build/ol/install-packages.sh index 96c09da2c71..22e73eb9468 100755 --- a/build/ol/install-packages.sh +++ b/build/ol/install-packages.sh @@ -53,6 +53,9 @@ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.s dnf update -y dnf install -y git-lfs +# Install missing language pack for en_US.UTF-8 (see issue #2487) +dnf install -y glibc-langpack-en + # Clean up DNF when done dnf clean all From d8fe21f489b2b9a3b2b07ed8257f9dfac9cc224f Mon Sep 17 00:00:00 2001 From: Sculas Date: Fri, 13 Dec 2024 05:34:04 +0100 Subject: [PATCH 2/2] refactor: apply requested changes --- build/ol/install-packages.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build/ol/install-packages.sh b/build/ol/install-packages.sh index 22e73eb9468..953997bfd0c 100755 --- a/build/ol/install-packages.sh +++ b/build/ol/install-packages.sh @@ -46,6 +46,7 @@ dnf install -y \ libwebp \ findutils \ which \ + glibc-langpack-en \ ${EXTRA_DNF_PACKAGES} # Install Git LFS @@ -53,9 +54,6 @@ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.s dnf update -y dnf install -y git-lfs -# Install missing language pack for en_US.UTF-8 (see issue #2487) -dnf install -y glibc-langpack-en - # Clean up DNF when done dnf clean all