diff --git a/local-rest-scorer/Dockerfile b/local-rest-scorer/Dockerfile index 0907e99d..5393a98a 100644 --- a/local-rest-scorer/Dockerfile +++ b/local-rest-scorer/Dockerfile @@ -1,4 +1,4 @@ -FROM cgr.dev/chainguard/wolfi-base:latest@sha256:2148be123cd047f10c93e2bc88010d4abba1fc56a367d6287a251099ed5f006a AS builder +FROM cgr.dev/chainguard/wolfi-base:latest@sha256:b3dd9cf08283b959c6a0a3c833e68b2882a50129930215060154b43ae6a3e81c 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:2148be123cd047f10c93e2bc88010d4abba1fc56a367d6287a251099ed5f006a +FROM cgr.dev/chainguard/wolfi-base:latest@sha256:b3dd9cf08283b959c6a0a3c833e68b2882a50129930215060154b43ae6a3e81c RUN apk add openjdk-17-jre bash coreutils ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk ENV PATH="$JAVA_HOME/bin:$PATH"