Aktualisierung auf Java 17 spring/spring-consumer--json spring/spring-consumer--json---2023-10-signal
authorKai Moritz <kai@juplo.de>
Sat, 17 Jun 2023 12:43:40 +0000 (14:43 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 17 Jun 2023 16:30:53 +0000 (18:30 +0200)
Dockerfile
pom.xml

index 16ee25e..ae52522 100644 (file)
@@ -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 6c06376..35b846c 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@
   <version>1.0-SNAPSHOT</version>
 
   <properties>
-    <java.version>11</java.version>
+    <java.version>17</java.version>
   </properties>
 
   <dependencies>