kube-controller-manager v1.36.6 build recipe

The recipe ReadyStack built readystack/kubecontrollermanager: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 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/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:

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_EPOCH1793102572 (2026-10-27T12:02:52Z)
  • Target digest (linux/amd64)sha256:f832d6d6174e904cb86f178379571f02421cd5e056f112da12062aec8d2f93a2
  • Target config digestsha256:da510ff550ae03804b56efcc1d44963104668162f698d518b0091ac0d5c0f91b
  • Checksummed kit files58,526 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

82 lines · 6.5 KB
# =====================================================================
# kube-controller-manager 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/kubecontrollermanager-src is kubernetes v1.36.6 fully vendored (GOPROXY=off, the workspace vendor/),
# vendored/debs the apt closure (dpkg offline).
# Dockerfile and Dockerfile.offline are byte copies of this file (the repo-wide convention).
#
# SHAPE (upstream build/server-image/Dockerfile at v1.36.6): /usr/local/bin/kube-controller-manager, /go-runner (kube-log-runner,
# built from the same tree) as ENTRYPOINT. kubeadm's static Pod sets `command: [kube-controller-manager, ...]`, 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-controller-manager+strategic.yaml).
# =====================================================================

# --- kube-controller-manager + kube-log-runner (/go-runner) -----------------------------------------------------------
FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build
ARG SOURCE_DATE_EPOCH=1793102572
WORKDIR /k8s
COPY vendored/kubecontrollermanager-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: 58 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.sha2569.4 MB81252b955aae…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile6.5 KB4f4ab02048ed…Free account
Dockerfile.offline6.5 KB4f4ab02048ed…Free account
Dockerfile.offline.pinned6.5 KB4f4ab02048ed…Opening lines public
Dockerfile.vendor5.2 KB94de9793157d…Free account
MANIFEST.txt5.6 MB39bcf438636b…Free account
SOURCE_DATE_EPOCH.txt11 B1baf07802daf…Public · View
TARGET_DIGEST.txt494 B623d3a1788f6…Public · View
VERIFY_OFFLINE.sh9.9 KB3e8184ea230c…Free account
docs/PROVENANCE.md1.7 KBaf30502b4b2c…Free account
docs/REBUILD.md5.3 KBe8dc14fd6fd6…Free account
docs/VERIFY.md2.0 KB85ebd9cb8a2d…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock87 Bc289e1db4704…Public · View
docs/provenance/BUILD_RECIPE.json3.2 KB3084801c7ec1…Free account
docs/provenance/CUSTODY_INPUTS.json668 B45d9064ae7a2…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json256 KBb4e6f454c420…Free account
docs/provenance/SOURCE_TREE_HASH.json327 B6e4d6eb3dbc8…Public · View
docs/provenance/SYSTEM_PINNING.lock23 B0630392bbd9f…Free account
docs/provenance/TOOLCHAIN.lock6.2 KB4d8791e95197…Free account
rebuild.json1.5 KB17b20c808d61…Free account
rs-probe.go3.1 KBa8bdee17a358…Free account
rs-probe.mod40 Ba480b79acf98…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View

Made from ReadyStack-kubecontrollermanager-v1.36.6-CE-ubuntu24.04-r1.tar.gz (SHA-256 6f9300aae694c1477c8244e70935e621a006572418e9fb46af671ddaa5cd27c3), 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
  • Handbooks, SBOM, security report and records29,256 files, 239 MB
  • Vendored sources and packages29,229 files, 238 MB
  • Pinned BuildKit toolchain1 files, 106 MB