cmd/go: GO111MODULE=on go get -v -insecure gitlab.com/xxx/xxx failed #32569
Labels
FrozenDueToAge
modules
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
I am not sure.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I have a package in gitlab repo, but path in the package shows like "github.com/xxx/xxx"
so, I replace it like this in go.mod:
on my macOS, I can exec cmd
GO111MODULE=on go get -v -insecure gitlab.com/xxx/xxx
to pre-install it and then, when I exec cmdGOOS=linux GOARCH=amd64 CGO_ENABLED=1 GO111MODULE=on GOPROXY=https://athens.azurefd.net go build
, it exit 0.But when the cmd
GO111MODULE=on go get -v -insecure gitlab.com/xxx/xxx
executed in golang:v1.12.1 container, it may try to pull module ingo.mod
and withoutGOPROXY
it failed in the end.The go env and go version executed in
golang:1.12.1
I want to know why.
What did you expect to see?
I can pre-install go module solely, not all of them in go.mod
What did you see instead?
The text was updated successfully, but these errors were encountered: