-
Notifications
You must be signed in to change notification settings - Fork 447
Use eclipse-temurin:25 For Base Image #1735
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
Conversation
|
Hi @NColey Thanks a lot for tackling this 🙏 ❤️ I'm fine merging this. However if you have the time to upgrade the JDK to the latest LTS version of openjdk or eclipse-temurin. JDK 8 needs to get out of here finally 😅 |
Np! Happy to update, I can use A note though -- I see in Is there an objection to upgrading to |
|
Those tests were added when those JDKs were new and shiny 🙈 I guess, we could update those to up-to-date JDK versions as well, like newer ones than the current temurin LTS. Feel free to update all openjdk to temurin 😊 |
Sounds good! I made the updates + revised the PR description to better reflect that this is suggesting an upgrade to |
|
Also, out of curiosity -- what does the release cadence look like for this library? I ask because I noticed the I'm wondering, if this PR were to be accepted, when would it be likely to turn up in a new release? Completely understand if there isn't a set cadence, but I thought I would ask just to get a better sense. Thank you! |
|
I would immediately release it 😊 |
Sbt Native Packager uses
openjdk:8as the default Docker image. This version has been removed from the docker registry, posing issues for projects trying to incorporate sbt-native-packager today, who encounter the following error:It also appears to be breaking sbt-native-packagers own builds (see latest commit here) and open PRs (e.g here). This is applicable also to
openjdk:9andopenjdk:10.There is an issue in the project opened just under a year ago discussing replacing openjdk:8 with a newer image but as of the latest comment 2 months ago it seems like there is not yet alignment on what to replace
openjdk:8with.This PR upgrades to the latest LTS of
eclipse-temurin(eclipse-temurin:25) for the base image. Whereopenjdk:8,openjdk:9, andopenjdk:10appear in tests they have been replaced witheclipse-temurin:8,eclipse-temurin:11, andeclipse-temurin:17respectively.An alternate approach (if desired) from an earlier version of this PR description could be to replace with the explicit
openjdk:8tag ofopenjdk:8u342in line with this suggestion from the docker-library/openjdk repo, full list of tags also mentioned here.