virtctl v1.9.1 build recipe

The recipe ReadyStack built readystack/virtctl:v1.9.1-CE-scratch-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 36 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 36 recipe files; the build kit itself keeps its own terms.

Upstream source

Public

github.com/kubevirt/kubevirt (v1.9.1) at c3d19093f9c7b843b3879b18dc088911c081c39e

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 imagequay.io/kubevirt/builder:2606231619-4fe2cd536f@sha256:a48a7dd5a1b80602269b8c714fdaa54f729a9a4a4d096f7ee0d15c94cef343e8
  • BuildKitmoby/buildkit:v0.31.2
    sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0
  • Build methodsource-rebuild-go
  • SOURCE_DATE_EPOCH1791523273 (2026-10-09T05:21:13Z)
  • Target digest (linux/amd64)sha256:634431da66d601627ffc0cddd0e41d02678ff5c1a2f6407661ae9f8a85091501
  • Target config digestsha256:d8b31caea3ccedb686ad21bbcd0e657647cc9ac88c925ba284e11ec1c8bf4cf1
  • Checksummed kit files25,664 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

39 lines · 3.0 KB
# =====================================================================================================================
# KubeVirt v1.9.1 virtctl: KubeVirt's OWN Bazel build, offline (docker buildx build --network=none).
# Stage kubevirt-build is KubeVirt's pinned builder (quay.io/kubevirt/builder, CentOS Stream 9, Bazel 6.5.0). It runs
# kubevirt-build.sh: the ReadyStack patch series (patches/, each patch says what it changes and why), KubeVirt's
# bootstrap and `bazel build //cmd/virtctl:virtctl-amd64` on vendored/virtctl-src (git archive of c3d19093f9c7), with the
# vendored Bazel repository cache (RPMs, Go SDK, rules, distroless base, libssl3 .deb: every download by sha256, none
# made here). virtctl is KubeVirt's static linux/amd64 binary; the final stage holds it
# and its deterministic tarball (sorted, mtime = SOURCE_DATE_EPOCH, owner 0:0, gzip -n) with the tarball's sha256.
# Dockerfile and Dockerfile.offline are byte copies of this file. Written by
# product-kits/kubevirt-stack/kubevirt/mk-kits.py from strategies/virtctl.json; never edit by hand.
# =====================================================================================================================
FROM quay.io/kubevirt/builder:2606231619-4fe2cd536f@sha256:a48a7dd5a1b80602269b8c714fdaa54f729a9a4a4d096f7ee0d15c94cef343e8 AS kubevirt-build
# the commit's date as the default (as every kit declares it): assemble_kit's scratch build passes no build arguments,
# and kubevirt-build.sh refuses to build without it; the canonical build and BUILD_OFFLINE.sh pass the same value
ARG SOURCE_DATE_EPOCH=1791523273
ARG KUBEVIRT_VERSION=v1.9.1
COPY vendored/virtctl-src/ /root/go/src/kubevirt.io/kubevirt/
COPY vendored/bazel-repository-cache/ /kvs/cache/repo/
COPY patches/ /kvs/kit/patches/
COPY vendor/ /kvs/kit/vendor/
COPY kubevirt-build.sh oci-rootfs.py gen_rpmdb.py gomod-sbom.py gomod-virtctl.txt kubevirt-pins.env Dockerfile.offline.pinned /kvs/kit/
# no ldconfig in a scratch image: there is no /var/cache/ldconfig/aux-cache
RUN bash /kvs/kit/kubevirt-build.sh build virtctl

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

36 files · SHA-256 of each as published here
FileSizeSHA-256Access
BASES.tsv189 B5a810af4e9ab…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha2563.7 MB6840ecf80d2b…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile3.0 KB64bb37f1bd08…Free account
Dockerfile.offline3.0 KB64bb37f1bd08…Free account
Dockerfile.offline.pinned3.0 KB64bb37f1bd08…Opening lines public
Dockerfile.vendor2.1 KB28056dcd3521…Free account
MANIFEST.txt2.0 MB48eece52d83d…Free account
SOURCE_DATE_EPOCH.txt11 Bdb702391979e…Public · View
TARGET_DIGEST.txt373 Bcb1a4a0a300e…Public · View
VERIFY_OFFLINE.sh9.9 KB3e8184ea230c…Free account
docs/PROVENANCE.md1.6 KB6221227074a3…Free account
docs/REBUILD.md5.2 KB396237b03c7d…Free account
docs/VERIFY.md1.9 KB3b312238b163…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock168 B092e5e79eec6…Public · View
docs/provenance/BUILD_RECIPE.json2.4 KBb164ca9b1585…Free account
docs/provenance/CUSTODY_INPUTS.json649 Ba68ccf4b1a37…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json270 KB4c87dedf7e65…Free account
docs/provenance/SOURCE_TREE_HASH.json308 Bb239515aad6b…Public · View
docs/provenance/SYSTEM_PINNING.lock1 B01ba4719c80b…Free account
docs/provenance/TOOLCHAIN.lock3.9 KB3183e10ce9a0…Free account
gen_rpmdb.py1.9 KB4ccfc567d860…Free account
gomod-sbom.py6.7 KB36dda6e3fecf…Free account
gomod-virtctl.txt4.2 KB9c92e4436d9d…Free account
kubevirt-build.sh8.0 KB0a8b822cd8da…Free account
kubevirt-pins.env485 B17f3ad30a730…Free account
oci-rootfs.py9.0 KB4f065252354c…Free account
patches/0001-go-sdk-1.26.10.patch1.3 KBebbc8de59497…Free account
patches/0002-rpm-bumps-cs9-x86_64.patch29 KB6cb034453b7b…Free account
patches/0003-rpmdb-layer.patch20 KBfbfb796cd80f…Free account
patches/0004-virt-handler-nonroot-default-user.patch734 B860de2d46557…Free account
patches/0005-distroless-libssl3-3.0.22-1-deb12u2.patch6.2 KB3a160db2ff4d…Free account
patches/0006-go-modules-x-net-0.60.0-grpc-1.83.2.patch
Published with 9 redactions (internal host, lines 126576, 126615, 126650, 126654, 126764, 128124, 128138, 128152, 128336); the kit's own copy: 3af4e8b008f5…
6.2 MBb315eef09f6f…Free account
rebuild.json1.2 KB021ab0cefc25…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View

Made from ReadyStack-virtctl-v1.9.1-CE-scratch-r1.tar.gz (SHA-256 3cd583fdf818b0fb1a9116bcbaa6ee80e8f0b2825303521700ec472de8cec9ed), 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)22 files, 779 MB
  • Vendored sources and packages12,836 files, 299 MB
  • Handbooks, SBOM, security report and records12,771 files, 110 MB
  • Pinned BuildKit toolchain1 files, 106 MB