Skip to content

fix: switch Go base from bullseye to bookworm#74

Merged
mayankpande88 merged 1 commit into
mainfrom
fix/bullseye-to-bookworm
May 12, 2026
Merged

fix: switch Go base from bullseye to bookworm#74
mayankpande88 merged 1 commit into
mainfrom
fix/bullseye-to-bookworm

Conversation

@mayankpande88
Copy link
Copy Markdown
Contributor

Summary

Release pipeline is failing for perf and ruby images with:

ERROR: failed to solve: golang:1.26.3-bullseye: failed to resolve source metadata for docker.io/library/golang:1.26.3-bullseye: not found

Confirmed via Docker Hub: golang:1.26.3 ships only alpine, bookworm, and trixie Debian variants — no bullseye.

Bumps the 3 Debian-based Dockerfiles to golang:1.26.3-bookworm:

  • docker/perf/Dockerfile
  • docker/ruby/Dockerfile
  • docker/jvm/Dockerfile (not in release matrix, but kept consistent for make builds)

Runtime stages are untouched. The agent has no cgo so its binary is statically linked — runtime base (Debian 11 / Alpine) is unaffected.

Test plan

  • release.yml succeeds for perf and ruby on this PR

golang:1.26.3 dropped the bullseye (Debian 11) variant — only alpine,
bookworm (Debian 12), and trixie (Debian 13) variants are published.
release.yml fails for perf and ruby with 'golang:1.26.3-bullseye:
not found'.

Agent has no cgo, so the produced binary is statically linked; runtime
stages (ruby's bitnami/minideb:bullseye, perf's alpine:3.23.4) are
unaffected.
@mayankpande88 mayankpande88 enabled auto-merge (squash) May 12, 2026 10:43
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Go base image from Debian Bullseye to Bookworm for the build stage in the JVM, Perf, and Ruby Dockerfiles. The reviewer identified that the Go version '1.26.3' is likely a typo for '1.23.6' as the former is not a released version. Additionally, the feedback highlights potential glibc or musl compatibility issues caused by the mismatch between the build stage (Bookworm) and the runtime stages (Bullseye or Alpine), recommending that CGO_ENABLED=0 be explicitly set to ensure a portable, static binary.

Comment thread docker/jvm/Dockerfile
Comment thread docker/perf/Dockerfile
Comment thread docker/ruby/Dockerfile
@mayankpande88 mayankpande88 merged commit c078f9f into main May 12, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants