kube-scheduler v1.36.6 build recipe

The recipe ReadyStack built readystack/kubescheduler: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:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852
  • BuildKitmoby/buildkit:v0.31.2
    sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0
  • Build methodsource-rebuild-go
  • SOURCE_DATE_EPOCH1793102572 (2026-10-27T12:02:52Z)
  • Target digest (linux/amd64)sha256:db92258d58a8e98424edd20418624e6625c4360acedd4dd919443a3e538c9ef8
  • Target config digestsha256:7d6272fca628187fd48a7696d53e4c5a23be5e6893a72a315c52928055e12dfa
  • Checksummed kit files58,526 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

82 lines · 6.3 KB
# =====================================================================
# kube-scheduler 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/kubescheduler-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-scheduler, /go-runner (kube-log-runner,
# built from the same tree) as ENTRYPOINT. kubeadm's static Pod sets `command: [kube-scheduler, ...]`, 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-scheduler+strategic.yaml).
# =====================================================================

# --- kube-scheduler + kube-log-runner (/go-runner) --------------------------------------------------------------------
FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build
ARG SOURCE_DATE_EPOCH=1793102572
WORKDIR /k8s
COPY vendored/kubescheduler-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 B98233a2e2970…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha2569.2 MB965bc4a20849…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile6.3 KBfbb277facb1f…Free account
Dockerfile.offline6.3 KBfbb277facb1f…Free account
Dockerfile.offline.pinned6.3 KBfbb277facb1f…Opening lines public
Dockerfile.vendor5.2 KB03c468422814…Free account
MANIFEST.txt5.4 MB08b651402035…Free account
SOURCE_DATE_EPOCH.txt11 B1baf07802daf…Public · View
TARGET_DIGEST.txt476 Bf7d911a2c8fe…Public · View
VERIFY_OFFLINE.sh9.9 KB3e8184ea230c…Free account
docs/PROVENANCE.md1.7 KB3c7bcd0631fd…Free account
docs/REBUILD.md5.3 KB5f97d734b13c…Free account
docs/VERIFY.md1.9 KBf4b67e54ee1d…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock79 Bc36669f115ff…Public · View
docs/provenance/BUILD_RECIPE.json3.2 KBd1d065836a73…Free account
docs/provenance/CUSTODY_INPUTS.json660 B0de15cfb56ba…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json256 KB5d272c82a631…Free account
docs/provenance/SOURCE_TREE_HASH.json319 B2d16f058905f…Public · View
docs/provenance/SYSTEM_PINNING.lock23 B0630392bbd9f…Free account
docs/provenance/TOOLCHAIN.lock6.2 KB034226e5369f…Free account
rebuild.json1.5 KB3e46a6a1bb15…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-kubescheduler-v1.36.6-CE-ubuntu24.04-r1.tar.gz (SHA-256 f0df5e04d312691e0931da0dff9454fc27059cf214017af91a2a3d9facf2549f), 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