docker-library / golang

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

`golang:1.21.7` does not have an `linux/amd64` image #508

Closed oliver-goetz closed 7 months ago

oliver-goetz commented 7 months ago

Instead it has 2 windows/amd64 images 😅

Screenshot 2024-02-07 at 00 43 25

tianon commented 7 months ago

Yep, the builds are still in progress -- those Windows images are two different versions of Windows (because the kernel version of the host has to match the container, in the ideal case).

oliver-goetz commented 7 months ago

thanks 😄

stvoidit commented 7 months ago

https://github.com/docker-library/golang/issues/511#issuecomment-1931959053

I ran into the same problem, so I added an architecture refinement to my Dockerfile. I think this may help to avoid a similar problem.