docker-library / golang

Docker Official Image packaging for golang
https://golang.org
BSD 3-Clause "New" or "Revised" License
1.48k stars 512 forks source link

docker build fails for 1.20 but not for 1.18 #462

Closed joaomcferreira closed 11 months ago

joaomcferreira commented 1 year ago

Hello,

My docker build is ok with alpine, buster and bullseye 1.18 images. The application works, all is fine.

But the "docker build" fails for 1.20 on all of them. Maybe this could be a problem on my side. Can someone help me understand what might be wrong?

Thanks João

joaomcferreira commented 1 year ago

This is the error message I get:

go: github.com/davecgh/go-spew@v1.1.1: Get "https://proxy.golang.org/github.com/davecgh/go-spew/@v/v1.1.1.mod": dial tcp [2a00:1450:4003:801::2011]:443: connect: cannot assign requested address

It happens during "go mod download". This happens on Debian and Ubuntu hosts.

A friend using MAC does not have this problem. On his MAC there is not such issue.

tianon commented 1 year ago

Unfortunately, we do not have the bandwidth to provide in-depth integration/deployment/environment debugging or support here; these sorts of questions/requests would be more appropriately posted to a dedicated support forum, such as the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow.

joaomcferreira commented 1 year ago

Hello @tianon , I will do that, Thanks !