Traefik v3.7.16 build recipe

The recipe ReadyStack built readystack/traefik:v3.7.16-CE-ubuntu24.04-r1 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 26 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 26 recipe files; the build kit itself keeps its own terms.

Upstream source

Public

github.com/traefik/traefik (v3.7.16) at af6d927c51191ae1df104aaf907793386b816c28

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:

Pinned inputs

As JSON
  • Base imagegolang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af
  • Base imageubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
  • BuildKitmoby/buildkit:v0.31.2
    sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0
  • Build methodsource-rebuild-go
  • SOURCE_DATE_EPOCH1792485846 (2026-10-20T08:44:06Z)
  • Target digest (linux/amd64)sha256:f3d711110aab6de0a6062da2f35c31b3b3d18bc0b9eadbc95c03dff9ec7bbd81
  • Target config digestsha256:2094696a5754be12f42fcb3022aac8e878fed74a0fe24a05a5e42c51a2a7b945
  • Checksummed kit files24,556 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

71 lines · 5.1 KB
# =====================================================================
# L-009 HERMETIC OFFLINE BUILD (traefik) — the canonical, attestation-
# producing build. Run by build_kit's L-009 buildx:
#   docker buildx build --builder readystack-builder-max --network=none
#     --attest type=provenance,mode=max --attest type=sbom --push <git-context>
# That command CREATES the DockerHub image WITH SBOM + SLSA-max provenance.
#
# Pinned-public-base + vendored model (the container builder can't see host
# images, so everything is vendored):
#   - golang 1.26.10 + ubuntu pinned BY DIGEST (BASE_IMAGE_DIGESTS.lock; RUN steps
#     are --network=none hermetic)
#   - vendored/traefik-src : fully-vendored Go tree + prebuilt webui/static
#                            (GOPROXY=off, -mod=vendor)
#   - vendored/debs        : apt CVE-upgrade closure + runtime pkgs, dpkg offline
# =====================================================================
FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build
WORKDIR /src
COPY vendored/traefik-src/ .
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off
RUN go build -trimpath -ldflags='-s -w -X github.com/traefik/traefik/v3/pkg/version.Version=3.7.16' \
      -o /traefik ./cmd/traefik
# Fail closed on a stale toolchain. The digest this kit used to pin under golang:1.26-bookworm
# was go1.26.4 (published 2026-06-11) long after the tag had moved on, so chain 491 shipped
# stdlib 1.26.4 with 7 fixable critical/high (fixed in 1.26.6). `go version <binary>` reads the

Continues: 47 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

26 files · SHA-256 of each as published here
FileSizeSHA-256Access
BASES.tsv264 B8d72027e2bc4…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha2563.6 MB78d686149878…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile4.6 KBb679b5d36505…Free account
Dockerfile.offline4.6 KBb679b5d36505…Free account
Dockerfile.offline.pinned5.1 KB4c910e81d450…Opening lines public
Dockerfile.vendor4.6 KB38cc885fc97e…Free account
MANIFEST.txt2.1 MBdbff082fc90d…Free account
README.md2.0 KBe347d51a1721…Free account
SOURCE_DATE_EPOCH.txt11 B2b1d9b5bca27…Public · View
TARGET_DIGEST.txt280 B51cf70998d17…Public · View
VERIFY_OFFLINE.sh9.9 KB3e8184ea230c…Free account
docs/PROVENANCE.md1.7 KB71feec97ac68…Free account
docs/REBUILD.md5.0 KB6cf8b3e1e320…Free account
docs/VERIFY.md1.9 KB75bb925ff3a8…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock73 B43f4291c546a…Public · View
docs/provenance/BUILD_RECIPE.json1.2 KB3471c335cd82…Free account
docs/provenance/CUSTODY_INPUTS.json648 B222a6ba44953…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json139 KBf2d2f7c0cea4…Free account
docs/provenance/SOURCE_TREE_HASH.json306 B75c4414d1635…Public · View
docs/provenance/SYSTEM_PINNING.lock40 Bd9e8e7dec128…Free account
docs/provenance/TOOLCHAIN.lock3.7 KB7be0df1fae54…Free account
rebuild.json1.4 KB1289ecaa65b7…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View
traefik-dynamic.yml555 Bff2ec627b1cc…Free account

Made from ReadyStack-traefik-v3.7.16-CE-ubuntu24.04-r1.tar.gz (SHA-256 acbd117b2a447521083de12e71f781967f45022978326e732935067af22683dc), 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, 311 MB
  • Vendored sources and packages22,147 files, 209 MB
  • Pinned BuildKit toolchain1 files, 106 MB
  • Handbooks, SBOM, security report and records2,368 files, 35 MB