Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Take the offical registry image in version 2.6 | |
FROM registry:2.6 | |
# Copy over the StorageGRID self-signed certificate and Root CA, then update them | |
COPY root-ca.pem sgws-cert.pem /usr/local/share/ca-certificates/ | |
RUN update-ca-certificates | |
EXPOSE 5000 5001 | |
ENTRYPOINT ["registry"] | |
CMD ["serve", "/etc/docker/registry/config.yml"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment