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

Latest (Java 23) Corretto Dockerfile examples result in build warning. #215

Open
brickabaugh-ts opened this issue Oct 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@brickabaugh-ts
Copy link

Beginning with the recent release of the Java 23 Corretto alpine docker images, the Dockerfile examples contain an ENV syntax on or about line 19 that results in a warning message during the build of the container image.

The current syntax used in the files is, as follows:

ENV LANG C.UTF-8

The above syntax is consider "legacy", which results in the warning. Adding an '=' sign between the variable name 'LANG' and the value 'C.UTF-8' resolves the issue, as follows:

ENV LANG=C.UTF-8

The Dockerfile examples released with the Java 22 did not exhibit this issue.

Naturally, this is a minor issue that can be fixed by quickly adding the '=' between the variable name and value.

@brickabaugh-ts brickabaugh-ts added the bug Something isn't working label Oct 7, 2024
@lutkerd
Copy link
Contributor

lutkerd commented Oct 7, 2024

Thanks for letting us know. PR to fix all instances of this not just Alpine is #216

@lutkerd
Copy link
Contributor

lutkerd commented Oct 7, 2024

Fix is merged, we will use these updated images for the next quarterly release on Oct 15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants