Multus CNI v4.3.1 build recipe

The recipe ReadyStack built readystack/multuscni:v4.3.1-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/k8snetworkplumbingwg/multus-cni (v4.3.1) at d61706810cc8be60381dcb66e6a2428d5eb2795a

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_EPOCH1788537051 (2026-09-04T15:50:51Z)
  • Target digest (linux/amd64)sha256:f90014221243e98cf21d56dc66e3f53bf386c1c1484a633e550dadf4e39f324e
  • Target config digestsha256:23e11f363b6ee009075d79d35f1fb4fe714566c8b967edf1ea6cbb891fa079f7
  • Checksummed kit files5,503 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

108 lines · 14 KB
# GENERATED L-009 hermetic build (--network=none, SBOM+SLSA-attestation-producing).
# Pinned bases from BASE_IMAGE_DIGESTS.lock; vendored Go tree + debs from Dockerfile.vendor.
FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build_multus
WORKDIR /src
COPY vendored/multuscni-src/ .
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1788537051
RUN go build -trimpath -ldflags='-X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.version=v4.3.1 -X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.commit=d61706810cc8be60381dcb66e6a2428d5eb2795a -X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.gitTreeState=dirty -X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.releaseStatus=,released -X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.date=2026-09-04T15:50:51+00:00' -o /multus ./cmd/multus && /multus -version > /tmp/multus.version 2>&1; cat /tmp/multus.version; grep -qF 'version:v4.3.1(dirty,released), commit:d61706810cc8be60381dcb66e6a2428d5eb2795a' /tmp/multus.version || { echo 'multus -version does not report version:v4.3.1(dirty,released), commit:d61706810cc8be60381dcb66e6a2428d5eb2795a'; exit 1; } && \
    { readelf -lW /multus | sed -n 's/.*Requesting program interpreter: \(.*\)]$/\1/p'; readelf -dW /multus | sed -n 's/.*Shared library: \[\(.*\)\]$/\1/p'; } > /multus.needs
FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build_multus-daemon
WORKDIR /src
COPY vendored/multuscni-src/ .
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1788537051
RUN go build -trimpath -ldflags='-X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.version=v4.3.1 -X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.commit=d61706810cc8be60381dcb66e6a2428d5eb2795a -X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.gitTreeState=dirty -X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.releaseStatus=,released -X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.date=2026-09-04T15:50:51+00:00' -o /multus-daemon ./cmd/multus-daemon && /multus-daemon -version > /tmp/multus-daemon.version 2>&1; cat /tmp/multus-daemon.version; grep -qF 'version:v4.3.1(dirty,released)' /tmp/multus-daemon.version || { echo 'multus-daemon -version does not report version:v4.3.1(dirty,released)'; exit 1; } && \
    { readelf -lW /multus-daemon | sed -n 's/.*Requesting program interpreter: \(.*\)]$/\1/p'; readelf -dW /multus-daemon | sed -n 's/.*Shared library: \[\(.*\)\]$/\1/p'; } > /multus-daemon.needs
FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build_multus-shim
WORKDIR /src
COPY vendored/multuscni-src/ .
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1788537051
RUN go build -trimpath -ldflags='-X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.version=v4.3.1 -X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.commit=d61706810cc8be60381dcb66e6a2428d5eb2795a -X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.gitTreeState=dirty -X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.releaseStatus=,released -X gopkg.in/k8snetworkplumbingwg/multus-cni.v4/pkg/multus.date=2026-09-04T15:50:51+00:00' -o /multus-shim ./cmd/multus-shim && /multus-shim -version > /tmp/multus-shim.version 2>&1; cat /tmp/multus-shim.version; grep -qF 'version:v4.3.1(dirty,released)' /tmp/multus-shim.version || { echo 'multus-shim -version does not report version:v4.3.1(dirty,released)'; exit 1; } && \
    { readelf -lW /multus-shim | sed -n 's/.*Requesting program interpreter: \(.*\)]$/\1/p'; readelf -dW /multus-shim | sed -n 's/.*Shared library: \[\(.*\)\]$/\1/p'; } > /multus-shim.needs
FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build_install_multus
WORKDIR /src
COPY vendored/multuscni-src/ .
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1788537051

Continues: 84 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.sha256813 KBd0ae44f2ed51…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile14 KB96d5c0a5af78…Free account
Dockerfile.offline14 KB96d5c0a5af78…Free account
Dockerfile.offline.pinned14 KB96d5c0a5af78…Opening lines public
Dockerfile.vendor4.5 KB0c8a53171ed3…Free account
MANIFEST.txt447 KBe6c4dcadd5f3…Free account
SOURCE_DATE_EPOCH.txt11 B0d6970bed75f…Public · View
TARGET_DIGEST.txt477 B2da0892d0a2a…Public · View
VERIFY_OFFLINE.sh9.9 KB3e8184ea230c…Free account
docs/PROVENANCE.md1.7 KBc6673741aa30…Free account
docs/REBUILD.md5.3 KB02a3f9cc5f57…Free account
docs/VERIFY.md1.9 KBf60a96aa1f1a…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock75 B4b83b418bfea…Public · View
docs/provenance/BUILD_RECIPE.json7.9 KB4c6f2de05829…Free account
docs/provenance/CUSTODY_INPUTS.json665 B4555cd8bd23a…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json5.5 KB57cf842d4ae2…Free account
docs/provenance/SOURCE_TREE_HASH.json322 B36af494daa21…Public · View
docs/provenance/SYSTEM_PINNING.lock23 B0630392bbd9f…Free account
docs/provenance/TOOLCHAIN.lock8.1 KB4b65b14292e6…Free account
rebuild.json1.5 KBabb1a61cf3bb…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-multuscni-v4.3.1-CE-ubuntu24.04-r1.tar.gz (SHA-256 fb555d18a9c34ea1e420abb4690852498b3cda200214c15c1a99a4ad72ce511c), 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
  • Pinned BuildKit toolchain1 files, 106 MB
  • Vendored sources and packages5,250 files, 74 MB
  • Handbooks, SBOM, security report and records212 files, 2.7 MB