Skip to content

Commit

Permalink
Downgrade to java 17 due to kotlin java 21 incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenMayer authored Oct 30, 2023
1 parent 51b7923 commit 01e515c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 01e515c

Please sign in to comment.