Upgrade der Java-Version auf 21
authorKai Moritz <kai@juplo.de>
Wed, 25 Sep 2024 12:21:32 +0000 (14:21 +0200)
committerKai Moritz <kai@juplo.de>
Thu, 26 Sep 2024 08:36:38 +0000 (10:36 +0200)
Dockerfile
pom.xml

index 595fe16..06f3a84 100644 (file)
@@ -1,4 +1,4 @@
-FROM openjdk:17-jdk-slim
+FROM eclipse-temurin:21-jre
 VOLUME /tmp
 COPY target/*.jar /opt/app.jar
 COPY target/libs /opt/libs
diff --git a/pom.xml b/pom.xml
index f0e9fd2..987adce 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@
   <version>1.0-SNAPSHOT</version>
 
   <properties>
-    <java.version>17</java.version>
+    <java.version>21</java.version>
   </properties>
 
   <dependencies>