Closed tianon closed 6 months ago
After reviewing the details (and how "ouroboros" it would be to solve this "properly", especially in the face of the long-term implications of https://github.com/golang/go/issues/54265), my updated proposal is that we effectively revert https://github.com/docker-library/golang/pull/335 for 1.21+ -- as of Go 1.21, the only architecture we actually build from source across all our supported variants/distributions is arm32v5 (Debian's armel
) because Go's published arm
binaries are explicitly v6
(see also #314).
The only suggestion of actual arm32v5 users I've managed to find is https://github.com/docker-library/golang/issues/263, which is someone on one of the older Raspberry Pi devices (which are technically armv6) wanting to use a Debian-based image -- as of 1.21, the Alpine images are using the exact same upstream-provided pre-compiled binaries, so suggesting that those users switch to Alpine's arm32v6 images instead is extremely reasonable.
I will be updating this shortly.
doh, I didn't realize they'd bumped the baseline all the way to Go 1.20 already :sob:
Edit: ref: https://github.com/golang/go/issues/54265 -- also, that means 1.24 will require 1.22, so this will get worse/harder over time, not easier