From 76a1ff6b6d6f8c2c1f83aba1719e28e737c677aa Mon Sep 17 00:00:00 2001 From: Stian Lyng <stianlyng@protonmail.com> Date: Thu, 20 Apr 2023 14:35:32 +0200 Subject: [PATCH] change to maven version 4 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 34e7229b..7e9f5768 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ #EXPOSE 8080 # # Use the official Maven image as the base image -FROM maven:3.6.3-jdk-11 as builder +FROM maven:4.0.0-jdk-19 as builder # Set the working directory WORKDIR /app @@ -45,7 +45,7 @@ COPY src ./src RUN mvn clean package # Use the official OpenJDK image as the runtime image -FROM openjdk:11-jre-slim +FROM openjdk:19-jre-slim # Set the working directory WORKDIR /app -- GitLab