Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go程序Dockerfile模板 | Go语言充电站 #102

Open
Shitaibin opened this issue Nov 10, 2020 · 0 comments
Open

Go程序Dockerfile模板 | Go语言充电站 #102

Shitaibin opened this issue Nov 10, 2020 · 0 comments

Comments

@Shitaibin
Copy link
Owner

https://lessisbetter.site/2020/11/10/dockerfile-go/

模板12345678910111213141516171819202122232425262728# build时设置版本 --build-arg GO_VERSION=1.13,默认为go1.15ARG GO_VERSION=1.15FROM golang:${GO_VERSION} AS builderENV GOPROXY="https://goproxy.cn"ENV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant