Eclipse Temurin

A free, widely used JDK distribution built from OpenJDK by the Eclipse Adoptium project, also published as official container images.

In more detail

The course Dockerfile builds with eclipse-temurin:21-jdk and runs with eclipse-temurin:21-jre. The jdk tag contains the compiler and tools; the jre tag contains only what is needed to run. Pin the tag, or better the digest, and update it deliberately to pick up security patches.

Examples

FROM eclipse-temurin:21-jdk AS build
FROM eclipse-temurin:21-jre

Related terms

Taught in

References