Skip to content

Update Go base image version to 1.25.8#35

Merged
bdk38 merged 1 commit intomainfrom
bdk38-patch-1
Mar 11, 2026
Merged

Update Go base image version to 1.25.8#35
bdk38 merged 1 commit intomainfrom
bdk38-patch-1

Conversation

@bdk38
Copy link
Copy Markdown
Owner

@bdk38 bdk38 commented Mar 11, 2026

This is a security update for CVE-2026-27142, CVE-2026-25679 and CVE-2026-27139

This is a security update
Copilot AI review requested due to automatic review settings March 11, 2026 03:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Go builder base image in the project’s Docker build to incorporate upstream security fixes for the listed Go CVEs.

Changes:

  • Bump Docker build stage image from golang:1.25.7 to golang:1.25.8.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Dockerfile
# use newer golang because that's what I'm building with currently
FROM golang:1.25.7 AS build
FROM golang:1.25.8 AS build
#
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating the builder image to Go 1.25.8 may not actually address the referenced Go CVEs because go.mod pins toolchain go1.24.1, and go mod download / go test / go build will auto-download and use that toolchain unless GOTOOLCHAIN=local is set or the toolchain directive is updated/removed. To ensure the build uses the patched compiler/runtime, align the go.mod toolchain with 1.25.8 (or set ENV GOTOOLCHAIN=local and rely on the container’s Go version).

Suggested change
#
#
# ensure the Go toolchain from the image is used instead of any toolchain pinned in go.mod
ENV GOTOOLCHAIN=local
#

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Owner Author

@bdk38 bdk38 Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot update the gomod toolchain with 1.25.8

@bdk38 bdk38 merged commit e9b4ec0 into main Mar 11, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants