Created
December 18, 2019 05:37
-
-
Save igtm/b5e13d1b3c08b0a5fe0b5785178f57e8 to your computer and use it in GitHub Desktop.
Go用最小構成Dockerfile(スタティックビルドしたシングルバイナリとsslcertsファイルのみ)
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
FROM scratch | |
COPY --from=golang:1.13 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | |
COPY server /app/ | |
CMD ["/app/server"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment