diff --git a/local-rest-scorer/Dockerfile b/local-rest-scorer/Dockerfile index 52e2db4e..9296b653 100644 --- a/local-rest-scorer/Dockerfile +++ b/local-rest-scorer/Dockerfile @@ -1,4 +1,4 @@ -FROM cgr.dev/chainguard/wolfi-base:latest@sha256:3221f96f52fca0020fa6f404b0370d132403be6b3736d8dd92275ccd72129c1f AS builder +FROM cgr.dev/chainguard/wolfi-base:latest@sha256:09b9460e4ff828ac2f84df2759adb0a573bb5e0a57e4c6507074a2c112d5607f AS builder RUN apk add openjdk-17 bash coreutils ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk ENV PATH="$JAVA_HOME/bin:$PATH" @@ -6,7 +6,7 @@ WORKDIR /app COPY build/libs/local-rest-scorer-boot.jar application.jar RUN java -Djarmode=layertools -jar application.jar extract -FROM cgr.dev/chainguard/wolfi-base:latest@sha256:3221f96f52fca0020fa6f404b0370d132403be6b3736d8dd92275ccd72129c1f +FROM cgr.dev/chainguard/wolfi-base:latest@sha256:09b9460e4ff828ac2f84df2759adb0a573bb5e0a57e4c6507074a2c112d5607f RUN apk add openjdk-17-jre bash coreutils ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk ENV PATH="$JAVA_HOME/bin:$PATH"