Snippets

Jonas Carlsen Kjær Add certificate to container

Created by Jonas Carlsen Kjær

File Dockerfile Added

  • Ignore whitespace
  • Hide word diff
+ADD cert.crt /usr/local/share/ca-certificates/cert.crt
+RUN chmod 644 /usr/local/share/ca-certificates/cert.crt
+RUN update-ca-certificates
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.