eclipse-temurin
Provides high-quality, TCK-tested, production-ready distributions of the Java platform.
What is eclipse-temurin?
The Eclipse Temurin image packages the Temurin builds of OpenJDK, maintained by the Eclipse Adoptium project. Temurin provides high-quality, TCK-tested, production-ready distributions of the Java platform. These builds are trusted as drop-in replacements for OpenJDK and are widely used in enterprise environments.
The image is available with both JDK (development kit) and JRE (runtime environment) distributions, supporting multiple Java versions such as LTS releases (Java 8, 11, 17, 21) as well as newer feature releases. Because it is maintained under the Eclipse Foundation, Temurin has strong governance, transparency, and community support.
Eclipse Temurin is commonly used as a base image for Java applications in CI/CD pipelines, production deployments, and containerized microservices.
How to use this image
The Eclipse Temurin image can be used to build and run Java applications directly.
Examples:
These images are also commonly used as base images in Dockerfiles:
<code>FROM eclipse-temurin:21-jre
COPY target/myapp.jar /app.jar
ENTRYPOINT ["java","-jar","/app.jar"]</code>
Image variants
The Eclipse Temurin image is published under eclipse-temurin
and available in multiple forms:
eclipse-temurin:<version>-jdk
Includes the full JDK for compiling and building Java applications (e.g., eclipse-temurin:21-jdk
).
eclipse-temurin:<version>-jre
Includes only the JRE for running Java applications (e.g., eclipse-temurin:17-jre
).
eclipse-temurin:<version>-alpine
A lightweight variant based on Alpine Linux, providing smaller image sizes but with musl libc instead of glibc.
eclipse-temurin:<version>
Defaults to the JDK variant of the specified version (e.g., eclipse-temurin:21
). Recommended when you need the compiler.