virt-api v1.9.1 build recipe

The recipe ReadyStack built readystack/virtapi:v1.9.1-CE-debian12-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:1b50959eea78ae4db3a6037b90943ada86b9cb5426bb4790525316087d0ff582
  • Target config digestsha256:b17e4190206c645d0d7d05dec8b896f2b7258c0ea2fe87e8696bacaa3cc9823c
  • Checksummed kit files25,689 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

42 lines · 3.2 KB
# =====================================================================================================================
# KubeVirt v1.9.1 virt-api: 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/virt-api:virt-api-image` on vendored/virtapi-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). The image Bazel builds is unpacked into /out/rootfs
# (oci-rootfs.py: config parity with the final stage below, no build path in any file); the final stage is that
# filesystem with that config, as one layer.
# Dockerfile and Dockerfile.offline are byte copies of this file. Written by
# product-kits/kubevirt-stack/kubevirt/mk-kits.py from strategies/virtapi.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/virtapi-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-virt-api.txt kubevirt-pins.env Dockerfile.offline.pinned /kvs/kit/
# Bazel runs no ldconfig, so there is no /var/cache/ldconfig/aux-cache to strip; the rm keeps that true.
RUN bash /kvs/kit/kubevirt-build.sh build virt-api && rm -f /out/rootfs/var/cache/ldconfig/aux-cache

Continues: 18 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 MB35fd17bb05d6…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile3.2 KBafb96fd325bf…Free account
Dockerfile.offline3.2 KBafb96fd325bf…Free account
Dockerfile.offline.pinned3.2 KBafb96fd325bf…Opening lines public
Dockerfile.vendor2.1 KBad936fda7c11…Free account
MANIFEST.txt2.0 MB4c3950243f6a…Free account
SOURCE_DATE_EPOCH.txt11 Bdb702391979e…Public · View
TARGET_DIGEST.txt360 B983d942bffe5…Public · View
VERIFY_OFFLINE.sh9.9 KB3e8184ea230c…Free account
docs/PROVENANCE.md1.7 KB1f40db5f9387…Free account
docs/REBUILD.md5.2 KB5b20b746858a…Free account
docs/VERIFY.md1.9 KB8cffc7d6114b…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock168 Bf7d52724d89c…Public · View
docs/provenance/BUILD_RECIPE.json2.4 KBfe97a1f4bca3…Free account
docs/provenance/CUSTODY_INPUTS.json649 B3eb60a1cb3ba…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json270 KBac5fc885c080…Free account
docs/provenance/SOURCE_TREE_HASH.json308 B01d037b2587c…Public · View
docs/provenance/SYSTEM_PINNING.lock1 B01ba4719c80b…Free account
docs/provenance/TOOLCHAIN.lock5.7 KB919aaa65ab5c…Free account
gen_rpmdb.py1.9 KB4ccfc567d860…Free account
gomod-sbom.py6.7 KB36dda6e3fecf…Free account
gomod-virt-api.txt5.6 KBdaf8439d64a3…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 KBee5af3a10e16…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View

Made from ReadyStack-virtapi-v1.9.1-CE-debian12-r1.tar.gz (SHA-256 f48e3b80271a1986c158408fc06277d5be879e4bff7ac7e3d979925aef3dcf04), 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,861 files, 331 MB
  • Handbooks, SBOM, security report and records12,771 files, 111 MB
  • Pinned BuildKit toolchain1 files, 106 MB