fix: switch Go base from bullseye to bookworm#74
Merged
Conversation
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.
There was a problem hiding this comment.
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.
RamanKharchee
approved these changes
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release pipeline is failing for
perfandrubyimages with:Confirmed via Docker Hub:
golang:1.26.3ships onlyalpine,bookworm, andtrixieDebian variants — nobullseye.Bumps the 3 Debian-based Dockerfiles to
golang:1.26.3-bookworm:docker/perf/Dockerfiledocker/ruby/Dockerfiledocker/jvm/Dockerfile(not in release matrix, but kept consistent formakebuilds)Runtime stages are untouched. The agent has no
cgoso its binary is statically linked — runtime base (Debian 11 / Alpine) is unaffected.Test plan