Fix CVE-2022-28391 by bumping alpine from 3.15 to 3.16

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Silvin Lubecki 2022-05-25 16:22:25 +02:00 committed by Sebastiaan van Stijn
parent c202b9b0d7
commit 9f2bc25b7a
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -49,7 +49,7 @@ RUN --mount=from=binary,target=/build \
FROM scratch AS artifact FROM scratch AS artifact
COPY --from=releaser /out / COPY --from=releaser /out /
FROM alpine:3.15 FROM alpine:3.16
RUN apk add --no-cache ca-certificates RUN apk add --no-cache ca-certificates
COPY cmd/registry/config-dev.yml /etc/docker/registry/config.yml COPY cmd/registry/config-dev.yml /etc/docker/registry/config.yml
COPY --from=binary /registry /bin/registry COPY --from=binary /registry /bin/registry