Skip to content

Instantly share code, notes, and snippets.

@csiebler
Last active April 26, 2017 09:22
Embed
What would you like to do?
Dockerfile
# 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