-FROM openjdk:11-jre
+FROM openjdk:17-jdk-slim
VOLUME /tmp
COPY target/*.jar /opt/app.jar
ENTRYPOINT [ "java", "-jar", "/opt/app.jar" ]
<description>A service that reads computation requests from an incomming topic and generates according messages for the SumUp-Consumer on an outgoing topic. This version generates two types of JSON-messages.</description>
<version>1.0-SNAPSHOT</version>
+ <properties>
+ <java.version>17</java.version>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>