From 0b620c0510bc52df0fa9da061704f5beed12d7a8 Mon Sep 17 00:00:00 2001 From: O O Date: Tue, 17 Jan 2023 20:40:17 +0000 Subject: [PATCH] Dockerfile update for Java 19 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7b23328e..74468cdd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,8 @@ COPY . . # Package it RUN mvn package && mv /target/Morningstar*-with-dependencies.jar /target/Morningstar.jar -# Use openjdk 11 for running -FROM openjdk:11 AS runner +# Use Java 19 for running +FROM eclipse-temurin:19 AS runner # Copy the generated source COPY --from=builder /target/Morningstar.jar /