diff --git a/Dockerfile b/Dockerfile index 18f0a59..a764c7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG TARGET_BASE_IMAGE=debian:bookworm -FROM eclipse-temurin:21-jdk-jammy as javabase +FROM eclipse-temurin:17-jdk-jammy as javabase ENV JAVA_MODULES=java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.management.rmi,java.naming,java.net.http,java.prefs,java.rmi,java.scripting,java.se,java.security.jgss,java.security.sasl,java.smartcardio,java.sql,java.sql.rowset,java.transaction.xa,java.xml,java.xml.crypto,jdk.accessibility,jdk.charsets,jdk.crypto.cryptoki,jdk.crypto.ec,jdk.dynalink,jdk.httpserver,jdk.incubator.vector,jdk.internal.vm.ci,jdk.internal.vm.compiler,jdk.internal.vm.compiler.management,jdk.jdwp.agent,jdk.jfr,jdk.jsobject,jdk.localedata,jdk.management,jdk.management.agent,jdk.management.jfr,jdk.naming.dns,jdk.naming.rmi,jdk.net,jdk.nio.mapmode,jdk.sctp,jdk.security.auth,jdk.security.jgss,jdk.unsupported,jdk.xml.dom,jdk.zipfs RUN $JAVA_HOME/bin/jlink \ diff --git a/README.md b/README.md index 6f61172..27cd9f4 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ for example projects build on top of this runtime, running JODconverter example ## Builds info -- Official debian/bookworm with OpenJDK 21 Java (eclipse/temurin jlink based) +- Official debian/bookworm with OpenJDK 17 Java (eclipse/temurin jlink based) - LibreOffice is 7.4.+ right now Hint: We cannot split [JODconverter](https://github.com/jodconverter/jodconverter) and LibreOffice into two separate images since for now, `JODconverter` has to be running on the same machine as LibreOffice.