etcd v3.7.3 build recipe

The recipe ReadyStack built readystack/etcd:v3.7.3-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 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 account

An 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

Public

github.com/etcd-io/etcd (v3.7.3) at 0a173d0410a96d01091b484daae81365bbcde57e

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_EPOCH1792710094 (2026-10-22T23:01:34Z)
  • Target digest (linux/amd64)sha256:b21b8089f1957b35bfaf54647f871c1e9e56d36d20af32a2fdb9b2b6483d62f6
  • Target config digestsha256:e38d7c4b9e354933fd05a46cc2988e14d372da88f2a30dac4ba9f148f1cc9458
  • Checksummed kit files9,001 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

52 lines · 3.7 KB
# GENERATED L-009 hermetic build (--network=none, SBOM+SLSA-attestation-producing).
# Pinned bases from BASE_IMAGE_DIGESTS.lock; vendored Go tree + debs from Dockerfile.vendor.
FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build_etcd
COPY vendored/etcd-src/ /src/
WORKDIR /src/server
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1792710094
RUN go build -trimpath -ldflags='-s -w -X=go.etcd.io/etcd/api/v3/version.GitSHA=0a173d0' -o /etcd . && /etcd --version
FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build_etcdctl
COPY vendored/etcd-src/ /src/
WORKDIR /src/etcdctl
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1792710094
RUN go build -trimpath -ldflags='-s -w -X=go.etcd.io/etcd/api/v3/version.GitSHA=0a173d0' -o /etcdctl . && /etcdctl version
FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build_etcdutl
COPY vendored/etcd-src/ /src/
WORKDIR /src/etcdutl
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1792710094
RUN go build -trimpath -ldflags='-s -w -X=go.etcd.io/etcd/api/v3/version.GitSHA=0a173d0' -o /etcdutl . && /etcdutl version
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
ENV DEBIAN_FRONTEND=noninteractive
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 && \

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
FileSizeSHA-256Access
BASES.tsv264 B8d72027e2bc4…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha2561.2 MB2417a2d9b75d…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile3.7 KBa04d21ee9584…Free account
Dockerfile.offline3.7 KBa04d21ee9584…Free account
Dockerfile.offline.pinned3.7 KBa04d21ee9584…Opening lines public
Dockerfile.vendor2.9 KBd3c4614bac62…Free account
MANIFEST.txt632 KB8197c68cd8c7…Free account
SOURCE_DATE_EPOCH.txt11 Bf2312a4a7faf…Public · View
TARGET_DIGEST.txt311 B9ce9ab330cca…Public · View
VERIFY_OFFLINE.sh7.2 KB8b036b1f9a7f…Free account
docs/PROVENANCE.md1.6 KBec190ee8a3de…Free account
docs/REBUILD.md5.0 KBa1bfc33e7077…Free account
docs/VERIFY.md1.9 KB1019c2108bcd…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock70 B061b60efec95…Public · View
docs/provenance/BUILD_RECIPE.json
Published with 1 redaction (internal host, line 14); the kit's own copy: 182d8d057f82…
5.0 KB785f12a93701…Free account
docs/provenance/CUSTODY_INPUTS.json641 B4cb16cca0e39…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json61 KB559052223d4e…Free account
docs/provenance/SOURCE_TREE_HASH.json299 B024ba42b592b…Public · View
docs/provenance/SYSTEM_PINNING.lock28 Bfa091140511e…Free account
docs/provenance/TOOLCHAIN.lock4.2 KBa4be44aa86f2…Free account
readystack-entrypoint.sh2.3 KB1c22dad73ff3…Free account
rebuild.json1.4 KBd4c014cbecc3…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View

Made from ReadyStack-etcd-v3.7.3-CE-ubuntu24.04-r1.tar.gz (SHA-256 47fdf5925293c429fe95247db9dacee43433e9feac0dcdca8130e7a13f9c248f), 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
  • Pinned BuildKit toolchain1 files, 106 MB
  • Vendored sources and packages7,427 files, 84 MB
  • Handbooks, SBOM, security report and records1,534 files, 17 MB