Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: install missing language pack for GraalVM #3189

Merged
merged 2 commits into from
Dec 14, 2024

Conversation

Sculas
Copy link
Contributor

@Sculas Sculas commented Dec 12, 2024

Fixes #2487 (followup of #2487 (comment)). Also sets LC_ALL to en_US.UTF-8.

Fixes itzg#2487. Also sets `LC_ALL` to `en_US.UTF-8`.
Copy link
Owner

@itzg itzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great research and discovery. Thanks.

Just a tiny tweak is needed.

build/ol/install-packages.sh Outdated Show resolved Hide resolved
@@ -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 link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tested this locale setting with the Ubuntu and Alpine based image builds?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not been able to test this yet for the other distros. But since the tests pass as you said, it should be fine.

@itzg
Copy link
Owner

itzg commented Dec 13, 2024

PR tests pass, so other base distros seem to be fine with it.

@Sculas Sculas requested a review from itzg December 14, 2024 09:35
@itzg itzg merged commit de19794 into itzg:master Dec 14, 2024
5 checks passed
@itzg
Copy link
Owner

itzg commented Dec 14, 2024

Included in this build

https://github.com/itzg/docker-minecraft-server/actions/runs/12333206137

@Sculas Sculas deleted the fix/graalvm-utf8 branch December 15, 2024 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MOTD colors displaying incorrectly on GraalVM
2 participants