From 61f451694f3173d2a6a2a32fae01cf67e7471c24 Mon Sep 17 00:00:00 2001 From: srcyscrt <131414895+srcyscrt@users.noreply.github.com> Date: Sat, 22 Apr 2023 18:43:23 +0800 Subject: [PATCH] Use Eclipse Temurin images in the Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d65c5576e8..261ce9e499 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ # # Cosmic JAR creation stage # -FROM maven:3.8.4-openjdk-17 AS jar +FROM maven:3.9.1-eclipse-temurin-17 AS jar # Build in a separated location which won't have permissions issues. WORKDIR /opt/cosmic @@ -21,7 +21,7 @@ RUN mvn -f ./pom.xml clean package -Dmaven.test.skip -T 1C # # Server creation stage # -FROM openjdk:17.0.2 +FROM eclipse-temurin:17.0.6_10-jre # Host the server in a location that won't have permissions issues. WORKDIR /opt/server