eclipse-temurin

Provides high-quality, TCK-tested, production-ready distributions of the Java platform.

openjdk
amazoncorretto
liberica
zulu

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:

# Run a simple Java program with Temurin docker run --rm -v $PWD:/app -w /app eclipse-temurin:21 java HelloWorld.java # Build a Java application using JDK docker run --rm -v $PWD:/app -w /app eclipse-temurin:17-jdk javac MyApp.java # Run the compiled application docker run --rm -v $PWD:/app -w /app eclipse-temurin:17 java MyApp

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.

Interested in base images that start and stay clean?

This is a not a valid email
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.