Last active
April 26, 2017 09:22
-
-
Save csiebler/ca1555babefb6275f207a6c33bb7cf31 to your computer and use it in GitHub Desktop.
Dockerfile
This file contains hidden or 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