use java 21
This commit is contained in:
parent
16b53ba11d
commit
6f1f14a058
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue