You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore: pin golang image to latest
[#187010312](https://www.pivotaltracker.com/story/show/187010312)
* fix: pin golang alpine instead of latest
[#187010312](https://www.pivotaltracker.com/story/show/187010312)
`golang:latest` is based on debian instead of alpine. Since we were using golang:1.22.0-alpine before we should keep using latest version of alpine `golang:alpine`.
This Dockerfile definitely needs Alpine since we perform some APK operations: #957
Also, we must keep in mind that there might be differences in the golang binaries, since Alpine binaries tend to be statically linked against MUSL instead of glibc: golang/go#62053
We might want to keep an eye on this topic to ensure our binaries are always built in a consistent way.
Thank you very much @zucchinidev 🥇 for noticing this error and letting me know :)
Keep up the good work!
Co-authored-by: Andrea Zucchini <[email protected]>
* fix: allow downloading go toolchains on-the-fly
[#187010312](https://www.pivotaltracker.com/story/show/187010312)
Golang Docker images come with `GOTOOLCHAIN=local` by default which prevents downloading toolchains on-the-fly.
This would cause our CI to fail for a few hours when a new go version is released but golang tags are not yet up-to-date with it.
https://github.com/search?q=repo%3Adocker-library%2Fgolang%20GOTOOLCHAIN&type=code
---------
Co-authored-by: Andrea Zucchini <[email protected]>
0 commit comments