MCP-441 Use generic Java version#365
Conversation
SummaryUpdates the Dockerfile's base Java image from a specific patch version (21.0.10_7) to the generic Java 21 tag, allowing automatic updates to the latest Java 21 patch releases. This single-line change makes the container image more flexible by automatically pulling newer Java 21 patches and security updates, rather than being locked to a specific point-in-time version. What reviewers should knowWhat changed:
Key implications for review:
Start reading: Just the Dockerfile change — it's a one-liner.
|
ed35fc7 to
50e50d6
Compare
|
There was a problem hiding this comment.
LGTM! ✅
Clean, intentional change with no correctness or security issues.
The builder stage is ephemeral — only the jlink-optimized JDK output is copied into the final alpine:3.23.4 image. Switching to the floating eclipse-temurin:21-jdk-alpine tag means builds will pick up the latest Java 21 patch automatically, which is consistent with how the Gradle toolchain is configured (JavaLanguageVersion.of(21), major-version only). The shipped runtime image is unaffected.



No description provided.