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
There is a mismatch between the Go version declared in go.mod and the one used in the Dockerfile.
go.mod requires:
go 1.23
But Dockerfile uses:
FROM golang:1.21.6
This results in the following error during Docker build:
go: go.mod requires go >= 1.23.0 (running go 1.21.6; GOTOOLCHAIN=local)
failed to solve: process "/bin/sh -c go mod download" did not complete successfully: exit code: 1