Skip to content

docker: Updating golang version#461

Merged
klauspost merged 1 commit intominio:masterfrom
neo-th:bumping-golang-image
Feb 17, 2026
Merged

docker: Updating golang version#461
klauspost merged 1 commit intominio:masterfrom
neo-th:bumping-golang-image

Conversation

@neo-th
Copy link
Copy Markdown
Contributor

@neo-th neo-th commented Feb 15, 2026

Issue

Encountered this error while building the docker image with golang:1.22.

Step 5/14 : RUN go mod download
 ---> Running in a1de3653beb5
go: errors parsing go.mod:
go.mod:7: unknown block type: tool
The command '/bin/sh -c go mod download' returned a non-zero code: 1

Fix

Updated the Docker image to golang:1.25, since the tool directive in go.mod is supported starting in Go 1.24+.

@klauspost klauspost merged commit cbb7387 into minio:master Feb 17, 2026
6 of 7 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