checksum mismatch inside docker and outside docker

268 views
Skip to first unread message

Cholerae Hu

unread,
Aug 7, 2019, 2:51:05 AM8/7/19
to golang-nuts
I'm trying to build an private repo using go1.13beta1 in docker container. But I got an checksum mismatch error.
Weirdly, I can successfully build it outside docker , with the same go.sum, same version of go(go 1.13beta1).
I've already run `go clean --modcache` both inside and outside docker container.
I'm still finding a minimal repro. Anyone can help to solve this problem?

Cholerae Hu

unread,
Aug 7, 2019, 2:53:48 AM8/7/19
to golang-nuts
My host os and docker container os are both linux/amd64, and I've already turned GOSUMDB to 'off'. Also, I've already added this mismatched module into GOPRIVATE.

在 2019年8月7日星期三 UTC+8下午2:51:05,Cholerae Hu写道:

Ian Lance Taylor

unread,
Aug 7, 2019, 5:00:58 PM8/7/19
to Cholerae Hu, golang-nuts
What is the exact command you run, and what is the exact error message
that you get?

Ian
Reply all
Reply to author
Forward
0 new messages