Skip to content

Commit

Permalink
fix: install missing language pack for GraalVM
Browse files Browse the repository at this point in the history
Fixes itzg#2487. Also sets `LC_ALL` to `en_US.UTF-8`.
  • Loading branch information
Sculas committed Dec 12, 2024
1 parent 0582a8a commit 187ecd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
3 changes: 3 additions & 0 deletions build/ol/install-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 187ecd1

Please sign in to comment.