Open xmsz opened 3 years ago
Enable Go Modules, and then using go get
to get all packages.
module xxx
go 1.17
require (
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b
)
RUN export GOPROXY=https://goproxy.cn,direct && go mod tidy && go mod download
直接部署,都会卡在最后一步,因为国内根本下不下来
如果设置了proxy
则出现