Closed smelchior closed 5 years ago
Nice! docker-library's #32 provides background on this issue.
Some questions:
@smelchior :
LANG
in openjdk's Dockerfile. Any reason that we need LC_ALL
?@ilianaw :
Thanks for the quick response @EricEdens 👍 I did some tests, LANG is sufficient for the JDK, so i removed LC_ALL. A test for the env var has also been added.
Any thoughts on putting this in the AL2 base image instead of here?
Probably not a good idea since we install the glibc-minimal-langpack. wait C.utf-8 is totally a thing in the minimal langpack
I'm not particularly inclined to change our default since the base image has been out for a year? I should discuss it with the team and look at some other base images.
Most other base images don't have any special locales set, so I'll propose that putting it in this image is more correct.
Thanks @ilianaw :)
@smelchior, looks good! Go ahead and squash your commits and then I'll merge it.
sure, squash is done
nice :) what is the release process for the images on docker hub?
Issue: Currently the Image uses
POSIX
as the default locale, which caused issues for us when switching from the openjdk image. The openjdk image usesC.UTF-8
as the default locale which makes more sense as a sane default.Description of changes: Switches the default locale to utf-8 for the container