-
-
Notifications
You must be signed in to change notification settings - Fork 180
feat: add JDK25 Linux images #549
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
base: master
Are you sure you want to change the base?
Conversation
- Add JDK25 version variable (25+9-ea-beta) to docker-bake.hcl - Update jlink configuration for JDK25 with specific modules - Create separate Windows JDK build matrix excluding JDK25 - Support JDK25 on Alpine and Debian Linux platforms only
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.
Thanks, made some suggestions, LGTM otherwise!
FTR, I ran make test
locally (including those suggestions) with success.
# JDK 25 switches to a minimal module set for smaller images. Override with JLINK_MODULES to restore broader compatibility if needed. | ||
"25"*) mod_list="${JLINK_MODULES:-java.base,java.logging,java.xml,java.management,java.net.http,jdk.crypto.ec}"; \ | ||
set -- "--compress=zip-6" --add-modules "$mod_list" ;; \ |
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.
# JDK 25 switches to a minimal module set for smaller images. Override with JLINK_MODULES to restore broader compatibility if needed. | |
"25"*) mod_list="${JLINK_MODULES:-java.base,java.logging,java.xml,java.management,java.net.http,jdk.crypto.ec}"; \ | |
set -- "--compress=zip-6" --add-modules "$mod_list" ;; \ | |
# JDK 25 switches to a minimal module set for smaller images | |
"25"*) set -- "--compress=zip-6" --add-modules "java.base,java.logging,java.xml,java.management,java.net.http,jdk.crypto.ec" ;; \ |
Let's keep in simple for now like what's in the docker-agent which already has JDK25 images.
# JDK 25 switches to a minimal module set for smaller images. Override with JLINK_MODULES to restore broader compatibility if needed. | ||
"25"*) mod_list="${JLINK_MODULES:-java.base,java.logging,java.xml,java.management,java.net.http,jdk.crypto.ec}"; \ | ||
set -- "--compress=zip-6" --add-modules "$mod_list" ;; \ |
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.
# JDK 25 switches to a minimal module set for smaller images. Override with JLINK_MODULES to restore broader compatibility if needed. | |
"25"*) mod_list="${JLINK_MODULES:-java.base,java.logging,java.xml,java.management,java.net.http,jdk.crypto.ec}"; \ | |
set -- "--compress=zip-6" --add-modules "$mod_list" ;; \ | |
# JDK 25 switches to a minimal module set for smaller images | |
"25"*) set -- "--compress=zip-6" --add-modules "java.base,java.logging,java.xml,java.management,java.net.http,jdk.crypto.ec" ;; \ |
ditto
Co-authored-by: Hervé Le Meur <[email protected]>
Testing done
make build
Submitter checklist