Repository navigation
build: upgrade Go to 1.26.10 - #298
Merged
Merged
Conversation
The image was built with Go 1.26.5 because the Dockerfile used the floating golang:1.26 tag, and trivy reported 22 stdlib CVEs against it. Go 1.26.10 fixes all of them. Pin the builder image to the same version as go.mod, since the official golang images set GOTOOLCHAIN=local and will not download a newer toolchain. The golang.org/x/text CVEs in the same report are already fixed on main (v0.43.0). Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the stdlib CVEs reported by trivy against the visus Docker image, which was built with Go 1.26.5. All of them are fixed in Go 1.26.10.
go.mod: bump thegodirective to 1.26.10. CI reads the version fromgo.mod.Dockerfile: pin the builder togolang:1.26.10. The floatinggolang:1.26tag is how the image ended up on 1.26.5, and the official images setGOTOOLCHAIN=local, so they will not download a newer toolchain on their own.The
golang.org/x/textCVEs from the same report are already fixed on main (v0.43.0).Verified locally with Go 1.26.10: build, vet,
go test -short ./..., andgovulncheck ./...(no vulnerabilities found).