kube-apiserver v1.36.6 build recipe
The recipe ReadyStack built readystack/kubeapiserver:v1.36.6-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 accountAn 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
Publicgithub.com/kubernetes/kubernetes (v1.36.6) at 1b2171b110bb2a2542e1322035c6583ec86eb976
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://github.com/kubernetes/kubernetes.git v1.36.6
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 method
source-rebuild-go - SOURCE_DATE_EPOCH1793102572 (2026-10-27T12:02:52Z)
- Target digest (linux/amd64)sha256:49c4d7708668d7ab42ae0d1d3d584063f67ef87f2d746e21d6709288afdb997e
- Target config digestsha256:bda04858b63b3674f29e30e469069bcc4e3817e258c5a12f7b9f985639d8fda1
- Checksummed kit files58,527 (CHECKSUMS.sha256)
Dockerfile Dockerfile.offline.pinned
89 lines · 6.9 KB# ===================================================================== # kube-apiserver v1.36.6 L-009 HERMETIC OFFLINE BUILD — the canonical, attestation-producing build. build_kit runs # docker buildx build --builder readystack-builder-max --network=none # --attest type=provenance,mode=max --attest type=sbom --push <context> # Pinned-public-base + vendored model: golang 1.26.10 + ubuntu 24.04 pinned BY DIGEST (BASE_IMAGE_DIGESTS.lock); # vendored/kubeapiserver-src is kubernetes v1.36.6 fully vendored (GOPROXY=off, the workspace vendor/), vendored/debs the # apt closure (dpkg offline), vendored/setcap-debs libcap2-bin for the setcap stage only. # Dockerfile and Dockerfile.offline are byte copies of this file (the repo-wide convention). # # SHAPE (upstream build/server-image/kube-apiserver/Dockerfile at v1.36.6): /usr/local/bin/kube-apiserver with # cap_net_bind_service, /go-runner (kube-log-runner, built from the same tree) as ENTRYPOINT. kubeadm's static Pod # sets `command: [kube-apiserver, ...]`, which replaces the ENTRYPOINT. Unlike upstream (distroless, root) the base is # Ubuntu 24.04 and the default user is kube (999:999): root comes from the Pod (securityContext.runAsUser: 0, the kubeadm # patch file product-kits/kubevirt-stack/install/controlplane/patches/kube-apiserver+strategic.yaml). # ===================================================================== # --- kube-apiserver + kube-log-runner (/go-runner) --------------------------------------------------------------------- FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build ARG SOURCE_DATE_EPOCH=1793102572 WORKDIR /k8s COPY vendored/kubeapiserver-src/ . ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOFLAGS=-buildvcs=false GOPROXY=off # upstream hack/lib/golang.sh + version.sh: tags selinux,notest,grpcnotrace; -trimpath -s -w; static (CGO off); # gitVersion/gitCommit/gitTreeState/gitMajor/gitMinor/buildDate stamped into both version packages, buildDate from
Continues: 65 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| File | Size | SHA-256 | Access |
|---|---|---|---|
| BASES.tsv | 264 B | 8d72027e2bc4… | Public · View |
| BUILD_OFFLINE.sh | 6.6 KB | 83299978ccd0… | Opening lines public |
| CHECKSUMS.sha256 | 9.2 MB | 3ee645eb4f5d… | Free account |
| DOCKERFILE_NAME.txt | 26 B | 9aadd1ede68e… | Public · View |
| Dockerfile | 6.9 KB | a915c1980a00… | Free account |
| Dockerfile.offline | 6.9 KB | a915c1980a00… | Free account |
| Dockerfile.offline.pinned | 6.9 KB | a915c1980a00… | Opening lines public |
| Dockerfile.vendor | 5.7 KB | 9f28cff06382… | Free account |
| MANIFEST.txt | 5.4 MB | a1651fd53032… | Free account |
| SOURCE_DATE_EPOCH.txt | 11 B | 1baf07802daf… | Public · View |
| TARGET_DIGEST.txt | 474 B | 8fe763096244… | Public · View |
| VERIFY_OFFLINE.sh | 9.9 KB | 3e8184ea230c… | Free account |
| docs/PROVENANCE.md | 1.7 KB | b5b7953fae2b… | Free account |
| docs/REBUILD.md | 5.3 KB | f4c7c000e9d0… | Free account |
| docs/VERIFY.md | 1.9 KB | 6fa24a361c3a… | Free account |
| docs/provenance/BASE_IMAGE_DIGESTS.lock | 79 B | 0cb480d8cb34… | Public · View |
| docs/provenance/BUILD_RECIPE.json | 3.2 KB | ec65916e7a8c… | Free account |
| docs/provenance/CUSTODY_INPUTS.json | 660 B | 259e2cf0ec17… | Free account |
| docs/provenance/SOURCE_FILE_MANIFEST.json | 256 KB | fc497a5bd19f… | Free account |
| docs/provenance/SOURCE_TREE_HASH.json | 319 B | f5116a26c188… | Public · View |
| docs/provenance/SYSTEM_PINNING.lock | 23 B | 0630392bbd9f… | Free account |
| docs/provenance/TOOLCHAIN.lock | 6.2 KB | 75bf3f9ae021… | Free account |
| rebuild.json | 1.5 KB | d1ac73a35850… | Free account |
| rs-probe.go | 3.1 KB | a8bdee17a358… | Free account |
| rs-probe.mod | 40 B | a480b79acf98… | Free account |
| toolchain/BUILDKIT_TAG.txt | 22 B | fcd530eeb02b… | Public · View |
Made from ReadyStack-kubeapiserver-v1.36.6-CE-ubuntu24.04-r1.tar.gz (SHA-256 1ec07ab02ebaac40f72e089ce1750e4a462bde16f015db9e98fc8d967a155584), 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, 311 MB
- Handbooks, SBOM, security report and records29,256 files, 239 MB
- Vendored sources and packages29,230 files, 238 MB
- Pinned BuildKit toolchain1 files, 106 MB