HUB
Sign inSign up
jdk logo

epicmorg/jdk

By epicmorg

•Updated about 4 hours ago

OpenJDK 6-27 (Temurin, Zulu) on Debian trixie with Maven, Gradle and Kotlin

Image
0

10K+

epicmorg/jdk repository overview

⁠epicmorg/jdk

One 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.

⁠What's inside

TagJDKBuild tools
6Azul Zulu 6.22.0.3 (JDK 6u119)-
7Azul Zulu 7.56.0.11 (JDK 7u352)-
8Eclipse Temurin 8u504Maven 3.9.16, Gradle 8.14.6, Kotlin 2.4.21
11, 16Eclipse Temurin (11.0.32.1, 16.0.2)Maven 3.9.16, Gradle 8.14.6, Kotlin 2.4.21
17 - 27Eclipse Temurin (latest GA of each major)Maven 3.9.16, Gradle 9.8.2, Kotlin 2.4.21
  • JDK in /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.
  • Every certificate from /usr/local/share/ca-certificates (incl. the EpicMorg CA of the base image) is imported into ${JAVA_HOME}/lib/security/cacerts.
  • On 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

Every tag is pushed to docker.io, quay.io and ghcr.io (epicmorg/jdk:<tag> on each) - same digest everywhere.

⁠Usage

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

⁠Notes

  • 6, 7, 16, 18 - 20, 22 - 24 are end-of-life upstream; they are kept for legacy builds and get no new JDK releases.
Tag summary
Recent tags
Content type
Image
Digest
sha256:b020cfc5a…
Size
1.4 GB
Last updated
about 4 hours ago
docker pull epicmorg/jdk:17