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

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 9f2bc25b7a)
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 b5ca020cfb
commit 38018aeb5d
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -40,7 +40,7 @@ COPY --from=build /out/*.sha256 /
FROM scratch AS binary
COPY --from=build /usr/local/bin/registry* /
FROM alpine:3.14
FROM alpine:3.16
RUN apk add --no-cache ca-certificates
COPY cmd/registry/config-dev.yml /etc/docker/registry/config.yml
COPY --from=build /usr/local/bin/registry /bin/registry