-
Notifications
You must be signed in to change notification settings - Fork 240
Update base image to OpenJDK 26-ea-17-jdk-slim #2
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # Use the official OpenJDK 17 image as the base image | ||
| FROM openjdk:17-jdk-alpine | ||
| FROM openjdk:26-ea-17-jdk-slim | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainVerify the base image tag and consider stability/production readiness. The openjdk image tags include pre-release / non-production builds of OpenJDK. Upgrading from the stable Java 17 LTS image to a Java 26 Early Access image introduces several risks:
Before merging, please:
If production stability is a concern, consider using Eclipse Temurin (formerly AdoptOpenJDK) as an alternative. 💡 Result: Short answer — status as of late 2025:
Sources:
🌐 Web query: 💡 Result: Tag format (pattern)
Common examples
Meaning
Sources: Snyk tag listings for openjdk images and Docker Hub mirror listing. [1][2][3] 🌐 Web query: 💡 Result: Short answer: Not yet — JDK 26 is still in development/EA and its planned General Availability (GA) is March 17, 2026. Wait for the GA release before using it as a production/stable runtime; continue using your current supported JDK (or the latest vendor GA/LTS) until then. [1][2][3] Sources:
Fix the Docker base image tag format and address Java 26 EA production readiness. The tag
Fix the Dockerfile before merging:
Verify the application has been tested against the chosen Java version. 🤖 Prompt for AI Agents |
||
|
|
||
| # Set metadata | ||
| LABEL maintainer="trainwithshubham@gmail.com" | ||
|
|
||
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.
Update the comment to reflect the actual Java version.
The openjdk image has been deprecated, so the old image reference is understandable. However, the comment on line 1 still refers to "OpenJDK 17," but the FROM statement uses a Java 26 EA image. This creates a maintenance concern.
Update the comment to match the actual image:
📝 Committable suggestion
🤖 Prompt for AI Agents