Skip to content

Commit

Permalink
bump: The Java version in credhub Dockerfile
Browse files Browse the repository at this point in the history
- 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]
  • Loading branch information
hsinn0 committed Nov 7, 2023
1 parent 6faae5c commit 9f91f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down

0 comments on commit 9f91f0d

Please sign in to comment.