-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade to java 21 (temurin) and bump debian - ring-fence public key …
…to adoptium
- Loading branch information
Showing
2 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Types: deb | ||
URIs: https://packages.adoptium.net/artifactory/deb | ||
Suites: SUITE | ||
Components: main | ||
Signed-By: /adoptium/apt-keyring.gpg |
ae9622e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andponlin I experienced that, with JDK21, when the environment variable LANG is missing, it means internally it defaults to ASCII for some tasks like reading environment variables. file.encoding=UTF-8 doesn't help.
I had to declare "ENV LANG C.UTF-8", so it behaves like JDK17. Might be a good idea to do the same in this Dockerfile (it's a default as seen here: https://github.com/adoptium/containers/blob/main/21/jdk/ubuntu/jammy/Dockerfile)
ae9622e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @korli ; Thanks for that tip. I've just updated that on
master
and so it should be good on the next release. 👍ae9622e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andponlin you might need to install the
locales
package too