From: Kai Moritz Date: Wed, 25 Sep 2024 12:21:32 +0000 (+0200) Subject: Upgrade der Java-Version auf 21 X-Git-Tag: producer/spring-producer--Shutdown-Hängt~7 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=0659537e59a9cf239a208c1a007a73558bc8811a;p=demos%2Fkafka%2Ftraining Upgrade der Java-Version auf 21 --- diff --git a/Dockerfile b/Dockerfile index ae52522..9e196ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:17-jdk-slim +FROM eclipse-temurin:21-jre VOLUME /tmp COPY target/*.jar /opt/app.jar ENTRYPOINT [ "java", "-jar", "/opt/app.jar" ] diff --git a/pom.xml b/pom.xml index 34121de..e15fc1f 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ 1.0-SNAPSHOT - 17 + 21