Skip to content

fix: public-api Docker build fails — Go version mismatch (requires 1.25, Dockerfile has 1.24) #1278

@Gkrumbach07

Description

@Gkrumbach07

Summary

The public-api component Docker build is failing on all PRs with:

go: go.mod requires go >= 1.25.0 (running go 1.24.6; GOTOOLCHAIN=local)

Details

The public-api Dockerfile base image uses Go 1.24.6, but go.mod requires Go >= 1.25.0. The GOTOOLCHAIN=local setting prevents automatic toolchain download, causing go mod download to fail.

This has been consistently failing across multiple CI runs (not flaky/transient):

Fix

Update the Go version in the public-api Dockerfile (or its base image) to >= 1.25.0, or remove GOTOOLCHAIN=local to allow automatic toolchain download.

Impact

Blocks all PRs that trigger public-api builds from passing CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ambient-code:auto-fixAmber agent: automated low-risk fixes (formatting, linting)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions