Caddy v2.11.7 build recipe
The recipe ReadyStack built readystack/caddy:v2.11.7-CE-ubuntu24.04-r4 from: the upstream source it starts from, every pinned input, and the files that run the build with the network off. Public here: the source and commit, the pinned inputs, all 29 recipe files with their sizes and SHA-256, 9 of them public in full or in part, and the opening lines of the Dockerfile and build script.
The whole recipe
Free accountAn account is an email address, a username and a password: no card, no donation. It opens all 29 recipe files; the build kit itself keeps its own terms.
Upstream source
Publicgithub.com/caddyserver/caddy (v2.11.7) at 72dd0fb067f6d7826c7f79907670ba4a713bfe37
Pinned inputs
As JSON- Base imagegolang:1.26.9-bookworm@sha256:d9c68c2c51161e12fd77e4c6320687c9cd86e1af1e3ad6e6cd63ff970641453c
- Base imageubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
- BuildKitmoby/buildkit:v0.31.2
sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0 - Build method
source-rebuild-go - SOURCE_DATE_EPOCH1791003978 (2026-10-03T05:06:18Z)
- Target digest (linux/amd64)sha256:23e269346861a0eb7932c84a1abf48a96b06c4b929518ad66a835b1efc7ae044
- Target config digestsha256:c190cd45ed75d2b1acc48707dc79cd016bd8fb3c1c96dfb6d52e114018350f51
- Checksummed kit files6,578 (CHECKSUMS.sha256)
Dockerfile Dockerfile.offline.pinned
65 lines · 4.5 KB# =====================================================================
# L-009 HERMETIC OFFLINE BUILD (canonical, attestation-producing).
# Built by `docker buildx build --builder readystack-builder-max
# --network=none --attest type=provenance,mode=max --attest type=sbom
# --push <git-context>` — the command that CREATES the DockerHub image
# WITH SBOM + SLSA-max provenance attestations (Scout 20-pt policy).
#
# Pinned-public-base + vendored-.deb model: the container builder cannot
# see host-built images, so everything is vendored —
# - golang + ubuntu pinned BY DIGEST (buildkit pulls; RUN steps are
# --network=none hermetic)
# - vendored/caddy-src : fully-vendored Go module tree (GOPROXY=off)
# - vendored/debs : apt CVE-upgrade closure + runtime packages,
# installed offline via dpkg (no apt network)
# =====================================================================
FROM golang:1.26.9-bookworm@sha256:d9c68c2c51161e12fd77e4c6320687c9cd86e1af1e3ad6e6cd63ff970641453c AS build
WORKDIR /src
COPY vendored/caddy-src/ .
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off
RUN go build -trimpath -ldflags='-s -w' -o /caddy .
RUN /caddy version | tee /tmp/caddy.version && grep -Eq '^v2\.11\.7( |$)' /tmp/caddy.version || \
{ echo "built caddy does not report v2.11.7" >&2; exit 1; }
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573cContinues: 41 more lines. Create a free account to read the rest, or sign in.
Build script BUILD_OFFLINE.sh
125 lines · 6.6 KB#!/usr/bin/env bash
# =============================================================================
# ReadyStack — offline reproducible rebuild.
#
# Rebuilds this product's image from THIS ARCHIVE ALONE, with no network access
# of any kind, and prints the resulting linux/amd64 image-manifest digest.
# Run ./VERIFY_OFFLINE.sh afterwards to assert it equals the published digest.
#
# Requirements: linux/amd64 Docker host, docker buildx >= 0.30, jq, tar.
# No git, no registry access, no additional tooling.
#
# ./BUILD_OFFLINE.sh the rebuild (OCI image + a docker-loadable copy)
# ./BUILD_OFFLINE.sh --provenance the same rebuild with SLSA v1 build provenance (mode=max) attached to the OCI
# image, generated by BuildKit, not by any build step. Run on your own hardened,
# isolated build platform and sign that provenance with a key the build cannot
# reach, and the result meets SLSA Build Level 3 (see REBUILD.md). The image
# digest is the same either way.
# =============================================================================
set -euo pipefail
PROVENANCE=0
for arg in "$@"; do
case "$arg" in
--provenance) PROVENANCE=1 ;;
-h|--help) sed -n '2,20p' "$0"; exit 0 ;;Continues: 101 more lines. Create a free account to read the rest, or sign in.
Recipe files
29 files · SHA-256 of each as published here| File | Size | SHA-256 | Access |
|---|---|---|---|
| BASES.tsv | 262 B | 782d1eedff2b… | Public · View |
| BUILD_OFFLINE.sh | 6.6 KB | 83299978ccd0… | Opening lines public |
| CHECKSUMS.sha256 | 916 KB | 8cc75149b003… | Free account |
| Caddyfile | 751 B | a1f8c632f6fc… | Free account |
| DOCKERFILE_NAME.txt | 26 B | 9aadd1ede68e… | Public · View |
| Dockerfile | 4.2 KB | e51bf3d8e248… | Free account |
| Dockerfile.base | 962 B | 4e3efc63bd8f… | Free account |
| Dockerfile.offline | 3.9 KB | 8df6c9a5b3e3… | Free account |
| Dockerfile.offline.pinned | 4.5 KB | 7be0fbc0f820… | Opening lines public |
| Dockerfile.vendor | 3.4 KB | 70e4d9aa10b7… | Free account |
| MANIFEST.txt | 479 KB | 703b848bbea9… | Free account |
| README.md | 2.9 KB | 4eec16c7fea1… | Free account |
| SOURCE_DATE_EPOCH.txt | 11 B | 333b1e817223… | Public · View |
| TARGET_DIGEST.txt | 278 B | d412e2118dba… | Public · View |
| VERIFY_OFFLINE.sh | 7.2 KB | 8b036b1f9a7f… | Free account |
| docs/PROVENANCE.md | 1.7 KB | c8077b140d19… | Free account |
| docs/REBUILD.md | 5.0 KB | e931ab195f15… | Free account |
| docs/VERIFY.md | 1.9 KB | 457566b0d5e9… | Free account |
| docs/provenance/BASE_IMAGE_DIGESTS.lock | 71 B | 0dcbe2e588a4… | Public · View |
| docs/provenance/BUILD_RECIPE.json | 1.3 KB | 8029029cec87… | Free account |
| docs/provenance/CUSTODY_INPUTS.json | 648 B | c69d95f3ab07… | Free account |
| docs/provenance/SOURCE_FILE_MANIFEST.json | 40 KB | d02c68eb0674… | Free account |
| docs/provenance/SOURCE_TREE_HASH.json | 305 B | e594c82ef6e2… | Public · View |
| docs/provenance/SYSTEM_PINNING.lock | 40 B | d9e8e7dec128… | Free account |
| docs/provenance/TOOLCHAIN.lock | 4.3 KB | 1089eaa7f2f4… | Free account |
| main.go | 754 B | 810c778bc7ba… | Free account |
| offline-kit.sh | 1.2 KB | b1da87b31928… | Free account |
| rebuild.json | 1.4 KB | 6323ff14f359… | Free account |
| toolchain/BUILDKIT_TAG.txt | 22 B | fcd530eeb02b… | Public · View |
Made from ReadyStack-caddy-v2.11.7-CE-ubuntu24.04-r4.tar.gz (SHA-256 ae903318fa2c2ecde3f9d03d1af8cfbdfc6b6b4f311d446691c5f6428a18f259), the build kit on sale for this release, on 2026-10-29.
What the Hermetic Build Kit adds
Free with a verified emailThe recipe pins every input; the kit carries them, so the build runs with the network off:
- Base images (OCI layouts)16 files, 314 MB
- Pinned BuildKit toolchain1 files, 106 MB
- Vendored sources and packages5,788 files, 54 MB
- Handbooks, SBOM, security report and records746 files, 7.4 MB