提升Ubuntu上Golang编译稳定性可从以下方面入手:
-p
-p 4
-buildcache true
go mod init
go mod tidy
-modvendor
GOPATH
GOROOT
GOPROXY
https://goproxy.cn
go build -x