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>
Wed, 25 Sep 2024 12:29:10 +0000 (14:29 +0200)
Dockerfile
pom.xml

index 4d8a0d8..060ae74 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 3476121..b7272e3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@
   <version>1.0-SNAPSHOT</version>
 
   <properties>
-    <java.version>17</java.version>
+    <java.version>21</java.version>
   </properties>
 
   <dependencies>