From 30ec532001e8d77f42f2f570e0cfd9b7953f0101 Mon Sep 17 00:00:00 2001 From: Hongchol Sinn Date: Thu, 2 Nov 2023 16:28:11 -0700 Subject: [PATCH] bump: The Java version in credhub Dockerfile - Bump JDK & JRE to 17. - Switch the base image to BellSoft one as there is no separate jre image for openjdk 17. - Also, we package credhub with BellSoft JRE so using BellSoft Java image makes sense. [#186054022] --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3886c73cd..4206082cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM openjdk:11 as build +FROM bellsoft/liberica-openjdk-debian:17 as build WORKDIR /app COPY . /app RUN ./gradlew bootJar -x test -x check -FROM openjdk:11-jre as run +FROM bellsoft/liberica-openjre-debian:17 as run WORKDIR /app COPY \ --from=build \