13 days ago
Hi, I would like to upgrade from Java21 to Java25 both build and runtime image.
Now I am using "eclipse-temurin:21-jre"
Maybe there is an Java 25 Temurin or Correto image which I can use?
1 Replies
13 days ago
For Java 25, you have several options 
Eclipse Temurin
Eclipse Temurin now provides Java 25 images. You can use:
eclipse-temurin:25-jre (runtime only)
eclipse-temurin:25-jdk (full JDK)
Amazon Corretto
Amazon Corretto also supports Java 25:
amazoncorretto:25 (JDK)
amazoncorretto:25-alpine (Alpine-based, smaller image)
Since you're currently using the JRE variant of Temurin 21, the most straightforward upgrade path would be:
# Change from
FROM eclipse-temurin:21-jre
# To
FROM eclipse-temurin:25-jre
If you want to try Corretto instead, note that they don't typically publish separate JRE images - their images include the full JDK. However, you could use a multi-stage build to extract just the JRE components if image size is a concern.
Both distributions are free, production-ready, and well-maintained. Temurin would give you the most similar experience to what you're currently using.
Status changed to Solved uxuz • 13 days ago