Merge pull request #3146 from andriisoldatenko/get-rid-apache2-utils

Remove apache2-utils from Dockerfile
This commit is contained in:
João Pereira 2021-02-06 15:26:45 +00:00 committed by GitHub
commit a18ebf9f78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ RUN CGO_ENABLED=0 make PREFIX=/go clean binaries && file ./bin/registry | grep "
FROM alpine:3.11 FROM alpine:3.11
RUN set -ex \ RUN set -ex \
&& apk add --no-cache ca-certificates apache2-utils && 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 /go/src/github.com/docker/distribution/bin/registry /bin/registry COPY --from=build /go/src/github.com/docker/distribution/bin/registry /bin/registry