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 account

An 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

Public

github.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 methodsource-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:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c

Continues: 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
FileSizeSHA-256Access
BASES.tsv262 B782d1eedff2b…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha256916 KB8cc75149b003…Free account
Caddyfile751 Ba1f8c632f6fc…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile4.2 KBe51bf3d8e248…Free account
Dockerfile.base962 B4e3efc63bd8f…Free account
Dockerfile.offline3.9 KB8df6c9a5b3e3…Free account
Dockerfile.offline.pinned4.5 KB7be0fbc0f820…Opening lines public
Dockerfile.vendor3.4 KB70e4d9aa10b7…Free account
MANIFEST.txt479 KB703b848bbea9…Free account
README.md2.9 KB4eec16c7fea1…Free account
SOURCE_DATE_EPOCH.txt11 B333b1e817223…Public · View
TARGET_DIGEST.txt278 Bd412e2118dba…Public · View
VERIFY_OFFLINE.sh7.2 KB8b036b1f9a7f…Free account
docs/PROVENANCE.md1.7 KBc8077b140d19…Free account
docs/REBUILD.md5.0 KBe931ab195f15…Free account
docs/VERIFY.md1.9 KB457566b0d5e9…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock71 B0dcbe2e588a4…Public · View
docs/provenance/BUILD_RECIPE.json1.3 KB8029029cec87…Free account
docs/provenance/CUSTODY_INPUTS.json648 Bc69d95f3ab07…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json40 KBd02c68eb0674…Free account
docs/provenance/SOURCE_TREE_HASH.json305 Be594c82ef6e2…Public · View
docs/provenance/SYSTEM_PINNING.lock40 Bd9e8e7dec128…Free account
docs/provenance/TOOLCHAIN.lock4.3 KB1089eaa7f2f4…Free account
main.go754 B810c778bc7ba…Free account
offline-kit.sh1.2 KBb1da87b31928…Free account
rebuild.json1.4 KB6323ff14f359…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…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 email

The 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