OpenJDK 6-27 (Temurin, Zulu) on Debian trixie with Maven, Gradle and Kotlin
10K+
epicmorg/jdkOne JDK major version per tag on top of
epicmorg/debian:trixie,
with the usual JVM build tools preinstalled. Used as the Java runtime for our
TeamCity agents and Atlassian images.
| Tag | JDK | Build tools |
|---|---|---|
6 | Azul Zulu 6.22.0.3 (JDK 6u119) | - |
7 | Azul Zulu 7.56.0.11 (JDK 7u352) | - |
8 | Eclipse Temurin 8u504 | Maven 3.9.16, Gradle 8.14.6, Kotlin 2.4.21 |
11, 16 | Eclipse Temurin (11.0.32.1, 16.0.2) | Maven 3.9.16, Gradle 8.14.6, Kotlin 2.4.21 |
17 - 27 | Eclipse Temurin (latest GA of each major) | Maven 3.9.16, Gradle 9.8.2, Kotlin 2.4.21 |
/usr/local/share/epicmorg/java/<major>; JAVA_HOME, JDK_HOME and
JRE_HOME point there, /usr/jdk and /usr/jre are symlinks to it and
${JAVA_HOME}/bin is on PATH./usr/local/share/ca-certificates (incl. the EpicMorg CA
of the base image) is imported into ${JAVA_HOME}/lib/security/cacerts.8+: Maven, Gradle, the Kotlin compiler and Kotlin/Native are unpacked
under /usr/local/share/epicmorg/{maven,gradle,kotlin,...} and their bin
directories are on PATH.| Tags | Dockerfile |
|---|---|
6 | jdk6 |
7 | jdk7 |
8 | jdk8 |
11 | jdk11 |
16 | jdk16 |
17 | jdk17 |
18 | jdk18 |
19 | jdk19 |
20 | jdk20 |
21 | jdk21 |
22 | jdk22 |
23 | jdk23 |
24 | jdk24 |
25 | jdk25 |
26 | jdk26 |
27 | jdk27 |
Every tag is pushed to docker.io, quay.io and ghcr.io (epicmorg/jdk:<tag> on each) - same digest everywhere.
docker run --rm epicmorg/jdk:21 java -version
FROM epicmorg/jdk:21
COPY target/app.jar /opt/app/app.jar
CMD ["java", "-jar", "/opt/app/app.jar"]
Add your own CA: put the .crt into /usr/local/share/ca-certificates/ and
import it the same way the image does:
COPY my-ca.crt /usr/local/share/ca-certificates/my-ca.crt
RUN update-ca-certificates && \
keytool -importcert -noprompt -keystore "$JAVA_HOME/lib/security/cacerts" \
-storepass changeit -alias my-ca -file /usr/local/share/ca-certificates/my-ca.crt
6, 7, 16, 18 - 20, 22 - 24 are end-of-life upstream; they are kept
for legacy builds and get no new JDK releases.docker pull epicmorg/jdk:17