Aktualisierung auf Java 17 spring/supersimple-consumer---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:36:19 +0000 (18:36 +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 56ade08..a1d3b10 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <java.version>11</java.version>
   </properties>
 
+  <properties>
+    <java.version>17</java.version>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.springframework.boot</groupId>