From: Kai Moritz Date: Sat, 17 Jun 2023 12:43:40 +0000 (+0200) Subject: Aktualisierung auf Java 17 X-Git-Tag: spring/supersimple-consumer---2023-10-signal X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=59a80ae1a4b7075438c3f20b545fa4e1ea4fbb29;p=demos%2Fkafka%2Ftraining Aktualisierung auf Java 17 --- diff --git a/Dockerfile b/Dockerfile index 16ee25e..ae52522 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:11-jre +FROM openjdk:17-jdk-slim VOLUME /tmp COPY target/*.jar /opt/app.jar ENTRYPOINT [ "java", "-jar", "/opt/app.jar" ] diff --git a/pom.xml b/pom.xml index 56ade08..a1d3b10 100644 --- a/pom.xml +++ b/pom.xml @@ -21,6 +21,10 @@ 11 + + 17 + + org.springframework.boot