8000 Fixes wrong encoding in container image by DGuhr · Pull Request #11547 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Fixes wrong encoding in container image - #11547

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

stianst merged 1 commit into
keycloak:mainfrom
DGuhr:iss11545_fix_encoding_container

Conversation

@DGuhr
@DGuhr DGuhr commented Apr 20, 2022 •
Copy link
Copy Markdown
Contributor

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
DGuhr commented Apr 20, 2022
Copy link
Copy Markdown
Contributor Author

@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 ;)

@DGuhr
DGuhr requested a review from pedroigor April 20, 2022 18:30
@DGuhr DGuhr added area/dist/quarkus Quarkus distribution — packaging, container images, server config (kc.sh) team/cloud-native labels Apr 20, 2022
@vmuzikar
Copy link
Copy Markdown
Contributor

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

Comment thread quarkus/container/Dockerfile Resolved
@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 Resolved
@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 Resolved
Comment thread quarkus/container/Dockerfile Resolved
Closes keycloak#11545

Co-authored-by: Joshua Sorah <jsorah@gmail.com>
@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
Closes keycloak#11545

Co-authored-by: Joshua Sorah <jsorah@gmail.com>

Co-authored-by: Joshua Sorah <jsorah@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dist/quarkus Quarkus distribution — packaging, container images, server config (kc.sh) team/cloud-native

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong encoding used for container

5 participants

0