Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mcr.microsoft.com/oss/go/microsoft/golang:1.24.0-bookworm doesn't contain go toolchain 1.24.0? #1567

Closed
MartinForReal opened this issue Feb 21, 2025 · 3 comments

Comments

@MartinForReal
Copy link

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)

@MartinForReal 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
@qmuntal

This comment has been minimized.

@gdams
Copy link
Member

gdams commented 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):

Image

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

@gdams gdams closed this as completed Feb 21, 2025
@MartinForReal
Copy link
Author

Thank you!

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

No branches or pull requests

3 participants