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>
Sat, 17 Jun 2023 16:06:36 +0000 (18:06 +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 544b236..7d977a6 100644 (file)
--- a/pom.xml
+++ b/pom.xml
   <description>A Simple Producer that takes messages via POST and confirms successs</description>
   <version>1.0-SNAPSHOT</version>
 
+  <properties>
+    <java.version>17</java.version>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.springframework.boot</groupId>