use java 21

This commit is contained in:
Alexandros Mandilaras 2024-02-20 15:59:01 +02:00
parent 16b53ba11d
commit 6f1f14a058
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
####################################### Build stage #######################################
FROM maven:3.9-eclipse-temurin-17-alpine AS build-stage
FROM maven:3.9-eclipse-temurin-21-alpine AS build-stage
ARG MAVEN_ACCOUNT_USR
ARG MAVEN_ACCOUNT_PSW
@ -25,7 +25,7 @@ RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} d
RUN mvn -Drevision=${REVISION} -DdevProfileUrl=${DEV_PROFILE_URL} -P${PROFILE} clean package
######################################## Run Stage ########################################
FROM eclipse-temurin:17-jre-ubi9-minimal
FROM eclipse-temurin:21-jre-ubi9-minimal
ARG PROFILE
ARG REVISION