Aktualisierung auf Java 17
authorKai Moritz <kai@juplo.de>
Sat, 17 Jun 2023 12:43:40 +0000 (14:43 +0200)
committerKai Moritz <kai@juplo.de>
Wed, 25 Oct 2023 19:14:11 +0000 (21:14 +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 0ff2d7a..d5a28ea 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>