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
The docker file is
FROM --platform=linux/amd64 mcr.microsoft.com/oss/go/microsoft/golang:1.24.0-bookworm@sha256:02a6172539bd60b8a1f555301a21a2e248b3d957c9a46bbe18509edf2db47d13 AS builder
But the build failed with
go: go.mod requires go >= 1.24 (running go 1.23.6; GOTOOLCHAIN=local)
The text was updated successfully, but these errors were encountered:
MartinForReal
changed the title
mcr.microsoft.com/oss/go/microsoft/golang:1.24.0-bookworm doesn't container go toolchain 1.24.0?
mcr.microsoft.com/oss/go/microsoft/golang:1.24.0-bookworm doesn't contain go toolchain 1.24.0?
Feb 21, 2025
Hi @MartinForReal, I'm unable to reproduce this issue using the latest digest for mcr.microsoft.com/oss/go/microsoft/golang:1.24.0-bookworm.
The digest that you're providing doesn't belong to the 1.24 tag (only the 1.23 release):
See below:
docker pull mcr.microsoft.com/oss/go/microsoft/golang:1.24.0-bookworm
1.24.0-bookworm: Pulling from oss/go/microsoft/golang
Digest: sha256:612a91edb4ff7d4c0e5a51daa3e9f15ac6c16c255a5f7a84d08348b7b30d6f69
Status: Image is up to date for mcr.microsoft.com/oss/go/microsoft/golang:1.24.0-bookworm
mcr.microsoft.com/oss/go/microsoft/golang:1.24.0-bookworm
docker run mcr.microsoft.com/oss/go/microsoft/golang:1.24.0-bookworm go version
go version go1.24.0 linux/arm64
The docker file is
FROM --platform=linux/amd64 mcr.microsoft.com/oss/go/microsoft/golang:1.24.0-bookworm@sha256:02a6172539bd60b8a1f555301a21a2e248b3d957c9a46bbe18509edf2db47d13 AS builder
But the build failed with
go: go.mod requires go >= 1.24 (running go 1.23.6; GOTOOLCHAIN=local)
The text was updated successfully, but these errors were encountered: