Pin JDK base images by digest; produce JDK 17 (3.x) and JDK 21 (4.x) variants#8
Merged
Merged
Conversation
2 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
azul/zulu-openjdk-alpineandmatejak/argbashby image digest viaARGdefaults; downstream rebuilds are now bit-for-bit reproducible.17.0.19-17.66): published ascodice/ddf-base:3.1,:3.1-jdk17,:jdk17-latest— for DDF2.30.xmaintenance + Alliance1.17.x.21.0.11-21.50): published ascodice/ddf-base:4.0,:4.0-jdk21,:jdk21-latest— for DDF master (post Bump to 2.31.0-SNAPSHOT and target JDK 21 ddf#6999 →2.31.0on JDK 21).codice/ddf-base:latesttag. Consumers must pick a JDK-pinned tag; this avoids the regression class that produced an unbootable Alliance 1.17.4 (Java 8 image + Java 17 setenv).LABEL maintainerfromoconnormitocodice.Test plan
docker buildfor JDK 17 variant succeeds locally;java -versionreportsZulu17.66+19 / 17.0.19.docker build --build-arg JAVA_BASE=<zulu-21-digest>succeeds;java -versionreportsZulu21.50+19 / 21.0.11.codice/allianceDocker module) after merge — separate PR will pin<docker.ddf.base.version>to3.1@sha256:<resulting-digest>.Follow-ups (not in this PR)
codice/alliancePR to pin<docker.ddf.base.version>to the new JDK-17 digest.codice/ddfPR to do the same in its Docker module (and switch to JDK 21 tag whenever Bump to 2.31.0-SNAPSHOT and target JDK 21 ddf#6999 lands).