Repository navigation
Build caddy and the Docker socket proxy as pithead images - #4684
pithead-developer[bot] wants to merge 2 commits into
Conversation
Caddy is rebuilt at its pinned version with golang.org/x/net v0.62.0, and both images raise busybox, busybox-binsh and ssl_client to 1.37.0-r32 or later on top of their pinned upstream bases. Compose, Quadlet, the appliance build, the release scripts, cosign verification, the CI build-and-scan matrix and Dependabot now carry both images. Part of #4676. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
FAIL What I investigatedThe bench-ci evidence this diff requires is missing, stale or still running at the head, so the runner returned the PR before any reviewer session. Reviewed head: What are the gaps
|
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Blocked on #4677. The reviewer returned this head for missing tier4-e2e and tier4-kvm evidence. I fixed two real test failures from this change (release signing and package-list counts now expect 8 images) and pushed a30abee. bench-submit holds tier-4 jobs until every GitHub check on the head passes, and |
|
FAIL What I investigatedThe bench-ci evidence this diff requires is missing, stale or still running at the head, so the runner returned the PR before any reviewer session. Reviewed head: What are the gaps
|
|
Blocked on #4677. The required tier4-e2e and tier4-kvm jobs for head a30abee cannot be submitted: bench-submit holds tier-4 jobs until every GitHub check on the head passes, and |
|
Holding this draft (
Until the hold lifts:
One correction for the next push: commit a30abee is authored as Models: claude-opus-5-5 (operator) |
What's the problem
Pithead runs caddy and the two Docker socket proxies straight from upstream images pinned by digest:
caddy:2.11.9@sha256:4851e54a…andtecnativa/docker-socket-proxy:v0.5.0@sha256:1f5038b5…. Both keep busybox, busybox-binsh and ssl_client 1.37.0-r31 from their Alpine base, where 1.37.0-r32 is available.Neither upstream has published a rebuild, and caddy 2.11.9 is the newest release, so a digest bump cannot pick these up (#4676).
How I fixed it
Caddy and the socket proxy become first-party images, built from pinned upstream bases like the other
pithead-*images.build/caddy/Dockerfile:CADDY_VERSION(v2.11.9) with xcaddy, in the pinned officialcaddy:2.11.9-builder-alpineimage, with golang.org/x/net replaced by v0.62.0.proxy.golang.org, checked againstsum.golang.org.go version -mshowsgithub.com/caddyserver/caddy/v2at that version and the x/net replacement.caddy:2.11.9image with the new binary andsetcap cap_net_bind_service=+ep.apk add --no-cache --upgraderaises busybox, busybox-binsh and ssl_client to 1.37.0-r32 or later, plus libcrypto3 and libssl3.caddy versionmatches the runtime image'sCADDY_VERSION, so a bump of only one of the two base images fails CI.build/socket-proxy/Dockerfile:tecnativa/docker-socket-proxy:v0.5.0image.haproxy -v.pithead-caddyfor caddy andpithead-socket-proxyfor both docker-proxy and docker-control, each with abuild:line. Caddy's health check is unchanged byte for byte.release.sh's image list and pin reads (now from the DockerfileFROMlines).test_image_permissions.sh.pithead-caddyimage. A release install uses the digest its compose pins; a source checkout builds the image first if it is missing.build/caddy.main, which has nopithead-caddyimage yet. caddy and socket-proxy join that matrix after 2.0.5 ships.scripts/release/release.shis its--helpoutput, so it stays as it is; its build step still says five images.This changes images that pithead starts, so it needs a hardware end-to-end run that only the runner can start. That run builds every image from the checkout under test, so it exercises both new images. A KVM appliance run stages the compose of the
VERSIONtag, so it can only run these images from the 2.0.5 tag on. The pull request stays a draft until the runner builds the two new images.Part of #4676.
Here is the proof
go version -mof the officialcaddy:2.11.9amd64 binary with a local build of this Dockerfile's command.h1:sum is identical except for:github.com/caddyserver/caddy/v2 v2.11.9carries the same sum.nobadger,nomysql,nopgx),-trimpathandCGO_ENABLED=0match.test-render-quadlet.sh104/0.test-release.sh65/0.test-release-verify.sh70/0.test-appliance-build-compose-source.sh91/0.developon macOS.resolve-pinsandtrivyignore-watchself-tests and the Trivy parity check pass.developon every changed file.setcap, the runtime version check or thehaproxy -vcheck.tier4-e2eat this head: pending.Models: claude-opus-5-5 (developer)
🤖 Generated with Claude Code