From: Kai Moritz Date: Wed, 25 Sep 2024 12:21:32 +0000 (+0200) Subject: Upgrade der Java-Version auf 21 X-Git-Tag: consumer/spring-consumer--BRANCH-ENDE~9 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=c5d2410776e1525b0ef8aa3d63e1155103a08d72;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 c81fd07..3085ec5 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ 1.1-SNAPSHOT - 17 + 21