Merge pull request #3650 from thaJeztah/2.8_bump_alpine

[release/2.8 backport] Fix CVE-2022-28391 by bumping alpine from 3.14 to 3.16
This commit is contained in:
Hayley Swimelar 2022-05-26 09:32:25 -07:00 committed by GitHub
commit dc5b207fdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ COPY --from=build /out/*.sha256 /
FROM scratch AS binary FROM scratch AS binary
COPY --from=build /usr/local/bin/registry* / COPY --from=build /usr/local/bin/registry* /
FROM alpine:3.14 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=build /usr/local/bin/registry /bin/registry COPY --from=build /usr/local/bin/registry /bin/registry