From 6f1f14a0589dcec9b842fd881b56f96b36d80972 Mon Sep 17 00:00:00 2001 From: amandilaras Date: Tue, 20 Feb 2024 15:59:01 +0200 Subject: [PATCH] use java 21 --- notification-service/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notification-service/Dockerfile b/notification-service/Dockerfile index 1c111befd..903c74927 100644 --- a/notification-service/Dockerfile +++ b/notification-service/Dockerfile @@ -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