Skip to content

fix: bump Dockerfile Go image to 1.24 and golangci-lint to v2.10.1#75

Merged
diogoasouza merged 3 commits intomasterfrom
copilot/fix-dockerfile-go-version
Mar 2, 2026
Merged

fix: bump Dockerfile Go image to 1.24 and golangci-lint to v2.10.1#75
diogoasouza merged 3 commits intomasterfrom
copilot/fix-dockerfile-go-version

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 2, 2026

go.mod requires Go ≥ 1.24.0, but the Dockerfile builder was pinned to golang:1.23, causing go mod download to fail with GOTOOLCHAIN=local. Also bumps golangci-lint to match current tooling.

Changes

  • package/Dockerfile
    • Builder base image: registry.suse.com/bci/golang:1.23registry.suse.com/bci/golang:1.24
    • golangci-lint: v2.1.6v2.10.1
-FROM registry.suse.com/bci/golang:1.23 AS builder
-RUN go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.6
+FROM registry.suse.com/bci/golang:1.24 AS builder
+RUN go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.10.1

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: mallardduck <619938+mallardduck@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix build issue by updating Dockerfile golang version fix: bump Dockerfile Go builder image to 1.24 Mar 2, 2026
Co-authored-by: mallardduck <619938+mallardduck@users.noreply.github.com>
Copilot AI changed the title fix: bump Dockerfile Go builder image to 1.24 fix: bump Dockerfile Go image to 1.24 and golangci-lint to v2.10.1 Mar 2, 2026
@mallardduck mallardduck marked this pull request as ready for review March 2, 2026 22:06
@mallardduck mallardduck requested review from a team and diogoasouza March 2, 2026 22:07
@diogoasouza diogoasouza merged commit 034ba56 into master Mar 2, 2026
3 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.

3 participants