Skip to content

Commit

Permalink
Update cli docker to eclipse-temurin:17-jre-alpine
Browse files Browse the repository at this point in the history
This addresses the UnknownClassVersionError exceptions reported in
issues #12240 and #12242 that result from using libraries (Logback) compiled
under Java 11 (class version 55) with a Java 8 JRE (supporting class version
52)
  • Loading branch information
daveset authored and frantuma committed Nov 25, 2023
1 parent a9c3cd3 commit a14a38f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/swagger-codegen-cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM openjdk:8-jre-alpine
FROM eclipse-temurin:17-jre-alpine

ADD target/swagger-codegen-cli.jar /opt/swagger-codegen-cli/swagger-codegen-cli.jar

ENTRYPOINT ["java", "-jar", "/opt/swagger-codegen-cli/swagger-codegen-cli.jar"]

CMD ["help"]
CMD ["help"]

0 comments on commit a14a38f

Please sign in to comment.