Skip to content

fix: update public-api Dockerfile Go version from 1.24 to 1.25#1279

Merged
Gkrumbach07 merged 1 commit intomainfrom
fix/public-api-go-version-1278
Apr 10, 2026
Merged

fix: update public-api Dockerfile Go version from 1.24 to 1.25#1279
Gkrumbach07 merged 1 commit intomainfrom
fix/public-api-go-version-1278

Conversation

@ambient-code
Copy link
Copy Markdown
Contributor

@ambient-code ambient-code bot commented Apr 10, 2026

Summary

  • Update public-api Dockerfile base image from go-toolset:1.24 to go-toolset:1.25 to match the go 1.25.0 requirement in go.mod
  • This aligns with the operator Dockerfile which already uses go-toolset:1.25

Root Cause

The go.mod was updated to require Go 1.25.0, but the Dockerfile base image was not updated. With GOTOOLCHAIN=local set in the UBI image, automatic toolchain download is disabled, causing go mod download to fail.

Test plan

  • CI build of the public-api Docker image succeeds
  • Existing public-api tests pass

Closes #1278


🤖 Ambient Session

The go.mod requires go >= 1.25.0 but the Dockerfile base image used
go-toolset:1.24, causing builds to fail with GOTOOLCHAIN=local.

Closes #1278

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ambient-code ambient-code bot added the ambient-code:managed PR managed by AI automation label Apr 10, 2026
@ambient-code
Copy link
Copy Markdown
Contributor Author

ambient-code bot commented Apr 10, 2026

The public-api Dockerfile base image was using go-toolset:1.24 while go.mod requires go 1.25.0. Updated to go-toolset:1.25 to match — same version the operator Dockerfile already uses.

🤖 Session

@Gkrumbach07 Gkrumbach07 merged commit 0c5a8e2 into main Apr 10, 2026
41 checks passed
@Gkrumbach07 Gkrumbach07 deleted the fix/public-api-go-version-1278 branch April 10, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ambient-code:managed PR managed by AI automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant