-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Describe the bug
A few years back cimg/go had a routine patch release come out due to a new version of Go being released. What we weren't expecting is that a patch release would move us from Ubuntu 20 to Ubuntu 22. This had no real downsides for the vast majority of apps... but some projects do use cgo and the OS change also resulted in the glibc version changing & breaking some things.
Today it happened again -- a random Go patch resulted in the Ubuntu version jumping from 22 to 24. But this time it's affecting more than just cgo apps. I reported here that the checkout command is now broken for anyone using FIPS mode on-prem with cimg/base:current.
To Reproduce
Checkout cimg/go:1.24.4 and observe that it's on Ubuntu 22.
Checkout cimg/go:1.24.5 and observe that it's on Ubuntu 24.
Expected behavior
I would propose that in the future, any major changes get applied to minor releases only. Maybe wait until the Go 1.25 series comes out to move up to a new major operating system version? Or if that's not possible, special tags that allow you to use Go 1.24.5 without Ubuntu 24.
Workarounds
Downgrade to cimg/go:1.24.4. But unfortunately the 1.24.5 patch is a security release.
Screenshots and Build Links
N/A
Additional context
N/A