shitaibin.github.io icon indicating copy to clipboard operation
shitaibin.github.io copied to clipboard

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

Open Shitaibin opened this issue 4 years ago • 0 comments

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

Shitaibin avatar Nov 10 '20 09:11 Shitaibin