-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
feat(alpine-jdk8) switch base image from deprecated adoptopenjdk to eclipse-temurin (adoptium) #119
Conversation
dduportal
commented
May 11, 2022
•
edited by MarkEWaite
Loading
edited by MarkEWaite
- Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
- Ensure that the pull request title represents the desired changelog entry
- Please describe what you did
- Link to relevant issues in GitHub or Jira
- Link to relevant pull requests, esp. upstream and downstream changes
- Ensure you have provided tests - that demonstrates feature works or fixes the issue
Good! the test are failing as described by @MarkEWaite in #118 . Gotta diagnose now. |
Ok, the change of base image introduce the following test failure (only 1):
which is this test: https://github.com/jenkinsci/docker-ssh-agent/blob/master/tests/tests.bats#L187-L194 |
The adoptopenJDK image defined the UTF-8 locale in 2 different places:
|
On the temurin image, only the environment variables are used: https://github.com/adoptium/containers/blob/087b411c6bb456e4c2a417aa358e6ff81d5775c4/8/jdk/alpine/Dockerfile.releases.full#L22. => That explains the root cause of the test failing. |
Please note that temurin relies on the native musl localedef: https://github.com/adoptium/containers/blob/087b411c6bb456e4c2a417aa358e6ff81d5775c4/8/jdk/alpine/Dockerfile.releases.full#L24 . Sounds like good enough |
|
I've merged #118. Apologies for the conflicts but most sincere thanks for applying your skills to the failing tests! |
PR ready for review: tests are now passing \o/ |
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.
That's great! Removed a special case in the test and switched to use a supported and maintained distribution in the Docker image.