0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-30 22:34:18 -05:00

docker: only copy the ca-certificates file from /etc/ssl

This commit is contained in:
Will Norris 2019-03-22 07:13:00 +00:00
parent be01bc1d27
commit b7975bcbe8

View file

@ -16,7 +16,7 @@ WORKDIR /go/bin
COPY --from=build /etc/passwd /etc/passwd COPY --from=build /etc/passwd /etc/passwd
COPY --from=build /usr/share/zoneinfo /usr/share/zoneinfo COPY --from=build /usr/share/zoneinfo /usr/share/zoneinfo
COPY --from=build /etc/ssl/certs /etc/ssl/certs COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=build /go/bin/imageproxy . COPY --from=build /go/bin/imageproxy .
USER go USER go