HAProxy 3.4.6 build recipe
The recipe ReadyStack built readystack/haproxy:3.4.6-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 25 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 25 recipe files; the build kit itself keeps its own terms.
Upstream source
Publicgit.haproxy.org/git/haproxy-3.4 (v3.4.6) at 56332c50b5291cfbbfd440d958adc988fbf87e2f
Fetched once, with the network on, by the vendor step (Dockerfile.vendor) when the kit was made; the offline build uses the kit's vendored copies:
- git https://git.haproxy.org/git/haproxy-3.4.git v3.4.6
Pinned inputs
As JSON- Base imageubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
- BuildKitmoby/buildkit:v0.31.2
sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0 - Build method
source-rebuild-c - SOURCE_DATE_EPOCH1790604274 (2026-09-28T14:04:34Z)
- Target digest (linux/amd64)sha256:2ccdcd3294917901aef07b97f1b8036a6da2f889a9b76dcfa68265478ec29887
- Target config digestsha256:c4838f4aa91db42fba659cd56f7e55797b9353655311424e842439edd3d31de8
- Checksummed kit files3,165 (CHECKSUMS.sha256)
Dockerfile Dockerfile.offline.pinned
52 lines · 4.2 KB# GENERATED L-009 hermetic C build (--network=none, SBOM+SLSA-attestation-producing).
# Pinned bases; vendored source (in-tree deps) + extra build debs + runtime debs from Dockerfile.vendor.
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c AS cbuild
# dpkg-install the vendored EXTRA build debs (pkg-config/libssl-dev/...) — gcc/make are in the builder.
RUN --mount=type=bind,source=vendored/build-debs,target=/tmp/bdebs \
set --; for f in /tmp/bdebs/*.deb; do [ -e "$f" ] && set -- "$@" "$f"; done; \
for pass in 1 2 3 4 5; do [ $# -eq 0 ] || dpkg -i --skip-same-version "$@" >/dev/null 2>&1 && break; done; \
dpkg --configure -a && bad= && for d in "$@"; do p=$(dpkg-deb -f "$d" Package) v=$(dpkg-deb -f "$d" Version); \
case "$(dpkg-query -W -f='${Version} ${db:Status-Abbrev}' "$p" 2>/dev/null)" in "$v ii"*) ;; *) bad="$bad $p=$v" ;; esac; done && \
{ [ -z "$bad" ] || { echo "vendored debs not installed at their vendored version:$bad" >&2; false; }; }
WORKDIR /src
COPY vendored/haproxy-src/ .
ARG SOURCE_DATE_EPOCH=1790604274
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
RUN make -j"$(nproc)" TARGET=linux-glibc USE_OPENSSL=1 USE_QUIC=1 USE_QUIC_OPENSSL_COMPAT=1 USE_LUA=1 USE_PCRE2=1 USE_PCRE2_JIT=1 USE_PROMEX=1
RUN make install-bin PREFIX=/opt/haproxy
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
ENV DEBIAN_FRONTEND=noninteractive PATH=/opt/haproxy/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN --mount=type=bind,source=vendored/debs,target=/tmp/debs \
set --; for f in /tmp/debs/*.deb; do [ -e "$f" ] && set -- "$@" "$f"; done; \
for pass in 1 2 3 4 5; do [ $# -eq 0 ] || dpkg -i --skip-same-version "$@" >/dev/null 2>&1 && break; done; \
dpkg --configure -a && bad= && for d in "$@"; do p=$(dpkg-deb -f "$d" Package) v=$(dpkg-deb -f "$d" Version); \
case "$(dpkg-query -W -f='${Version} ${db:Status-Abbrev}' "$p" 2>/dev/null)" in "$v ii"*) ;; *) bad="$bad $p=$v" ;; esac; done && \
{ [ -z "$bad" ] || { echo "vendored debs not installed at their vendored version:$bad" >&2; false; }; } && \Continues: 28 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
25 files · SHA-256 of each as published here| File | Size | SHA-256 | Access |
|---|---|---|---|
| BASES.tsv | 121 B | 0da49a3ea98f… | Public · View |
| BUILD_OFFLINE.sh | 6.6 KB | 83299978ccd0… | Opening lines public |
| CHECKSUMS.sha256 | 379 KB | ecd56de9836a… | Free account |
| DOCKERFILE_NAME.txt | 26 B | 9aadd1ede68e… | Public · View |
| Dockerfile | 4.2 KB | 52c33d660253… | Free account |
| Dockerfile.offline | 4.2 KB | 52c33d660253… | Free account |
| Dockerfile.offline.pinned | 4.2 KB | 52c33d660253… | Opening lines public |
| Dockerfile.vendor | 1.8 KB | 4ade384bfd57… | Free account |
| MANIFEST.txt | 169 KB | a851cd845e64… | Free account |
| SOURCE_DATE_EPOCH.txt | 11 B | 2d6041cdf479… | Public · View |
| TARGET_DIGEST.txt | 281 B | 3338d010af70… | Public · View |
| VERIFY_OFFLINE.sh | 7.2 KB | 8b036b1f9a7f… | Free account |
| docs/PROVENANCE.md | 1.8 KB | 587c12e7b002… | Free account |
| docs/REBUILD.md | 5.0 KB | 5cc871923e76… | Free account |
| docs/VERIFY.md | 1.9 KB | c97884106df3… | Free account |
| docs/provenance/BASE_IMAGE_DIGESTS.lock | 62 B | 6d9a4296ecce… | Public · View |
| docs/provenance/BUILD_RECIPE.json | 2.7 KB | ea25e5610cba… | Free account |
| docs/provenance/CUSTODY_INPUTS.json | 736 B | 4b93f8a169f0… | Free account |
| docs/provenance/SOURCE_FILE_MANIFEST.json | 53 KB | f479416e5866… | Free account |
| docs/provenance/SOURCE_TREE_HASH.json | 314 B | f69a45fc517b… | Public · View |
| docs/provenance/SYSTEM_PINNING.lock | 80 B | dc0450801fe7… | Free account |
| docs/provenance/TOOLCHAIN.lock | 2.3 KB | 079602ba7987… | Free account |
| haproxy.cfg | 1.3 KB | 7976189010c2… | Free account |
| rebuild.json | 1.1 KB | 3040f19342f8… | Free account |
| toolchain/BUILDKIT_TAG.txt | 22 B | fcd530eeb02b… | Public · View |
Made from ReadyStack-haproxy-3.4.6-CE-ubuntu24.04-r4.tar.gz (SHA-256 add3d5b1867aa28e1e50caaf4d870cf02c4fcc619a92f577703b4132769a93a3), 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:
- Pinned BuildKit toolchain1 files, 106 MB
- Vendored sources and packages1,589 files, 106 MB
- Base images (OCI layouts)5 files, 28 MB
- Handbooks, SBOM, security report and records1,547 files, 24 MB