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>
Sun, 29 Sep 2024 19:22:58 +0000 (21:22 +0200)
Dockerfile
pom.xml

index ae52522..9e196ff 100644 (file)
@@ -1,4 +1,4 @@
-FROM openjdk:17-jdk-slim
+FROM eclipse-temurin:21-jre
 VOLUME /tmp
 COPY target/*.jar /opt/app.jar
 ENTRYPOINT [ "java", "-jar", "/opt/app.jar" ]
diff --git a/pom.xml b/pom.xml
index c81fd07..3085ec5 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@
   <version>1.1-SNAPSHOT</version>
 
   <properties>
-    <java.version>17</java.version>
+    <java.version>21</java.version>
   </properties>
 
   <dependencies>