From 0b1d567ad70da8760d23042ff069b094df0e7386 Mon Sep 17 00:00:00 2001 From: Duc Nguyen <117302958+ndduc01@users.noreply.github.com> Date: Wed, 25 Sep 2024 13:13:52 -0400 Subject: [PATCH] added java 21 for base image for DP --- data-processing-service/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data-processing-service/Dockerfile b/data-processing-service/Dockerfile index f766f5786..107ce5a28 100644 --- a/data-processing-service/Dockerfile +++ b/data-processing-service/Dockerfile @@ -1,4 +1,4 @@ -FROM amazoncorretto:17 as builder +FROM amazoncorretto:21 as builder #Copy project config COPY gradle /usr/src/dataprocessing/gradle @@ -16,7 +16,7 @@ WORKDIR /usr/src/dataprocessing #Build report service along with any required libraries RUN ./gradlew :data-processing-service:buildNeeded -x test --no-daemon -FROM amazoncorretto:17 +FROM amazoncorretto:21 COPY --from=builder /usr/src/dataprocessing/data-processing-service/build/libs/data-processing-service*.jar data-processing-service.jar