Skip to content

Instantly share code, notes, and snippets.

@csiebler
Last active April 26, 2017 09:22
Show Gist options
  • Select an option

  • Save csiebler/ca1555babefb6275f207a6c33bb7cf31 to your computer and use it in GitHub Desktop.

Select an option

Save csiebler/ca1555babefb6275f207a6c33bb7cf31 to your computer and use it in GitHub Desktop.
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