Skip to content

Fixes wrong encoding in container image#11547

Merged
stianst merged 1 commit intokeycloak:mainfrom
DGuhr:iss11545_fix_encoding_container
Apr 22, 2022
Merged

Fixes wrong encoding in container image#11547
stianst merged 1 commit intokeycloak:mainfrom
DGuhr:iss11545_fix_encoding_container

Conversation

@DGuhr
Copy link
Copy Markdown
Contributor

@DGuhr DGuhr commented Apr 20, 2022

Solution taken from https://access.redhat.com/solutions/5211991 - would also work without the sed part on line 22(tried locally), but I guess this makes sure all other stuff in the container also picks the right locale up.

Tested building locally, and doing docker run --rm -it --entrypoint bash kc_lang_test -> looked at localeoutput gave me en_US.UTF-8 everywhere. Serverinfo now also shows right encoding.

Closes #11545

@DGuhr DGuhr requested a review from stianst April 20, 2022 18:29
@DGuhr
Copy link
Copy Markdown
Contributor Author

DGuhr commented Apr 20, 2022

@stianst @pedroigor if you haven't started the release process for 18, i suggest to put this in beforehand. Talking to @jsorah they couldn't find immediate problems, but I'd want to avoid weird debugging sessions for locale-related edge cases in the future ;)

@vmuzikar
Copy link
Copy Markdown
Contributor

jFTR – apparently this was the solution for the original WF container.

Comment thread quarkus/container/Dockerfile Outdated
@DGuhr DGuhr force-pushed the iss11545_fix_encoding_container branch from 29d01b2 to 9445c2a Compare April 21, 2022 09:23
andreaTP
andreaTP previously approved these changes Apr 21, 2022
Comment thread quarkus/container/Dockerfile Outdated
@DGuhr DGuhr force-pushed the iss11545_fix_encoding_container branch from a79146f to 8cdfbfe Compare April 21, 2022 14:18
andreaTP
andreaTP previously approved these changes Apr 21, 2022
@DGuhr DGuhr force-pushed the iss11545_fix_encoding_container branch from 8cdfbfe to 83155d0 Compare April 21, 2022 16:58
Comment thread quarkus/container/Dockerfile Outdated
Comment thread quarkus/container/Dockerfile Outdated
@DGuhr DGuhr force-pushed the iss11545_fix_encoding_container branch from 83155d0 to 7a4329d Compare April 22, 2022 08:40
@stianst stianst merged commit ea55268 into keycloak:main Apr 22, 2022
DGuhr added a commit to DGuhr/keycloak that referenced this pull request Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong encoding used for container

5 participants