flannel CNI plugin v1.9.1-flannel3 build recipe
The recipe ReadyStack built readystack/flannelcniplugin:v1.9.1-flannel3-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 accountAn 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
Publicgithub.com/flannel-io/cni-plugin (v1.9.1-flannel3) at b380f201008e9bed159703846cf10d3c50b4f9ce
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 method
source-rebuild-go - SOURCE_DATE_EPOCH1786091006 (2026-08-07T08:23:26Z)
- Target digest (linux/amd64)sha256:4511acd7413d1e6fd78d3d712921d794cb820a3b62973512532d7b64f2cc4e8a
- Target config digestsha256:72281e62a4fb98749aaac8f4525d44d61b32494f4ae1a51a9547a479fcc124d9
- Checksummed kit files1,657 (CHECKSUMS.sha256)
Dockerfile Dockerfile.offline.pinned
47 lines · 3.8 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_flannel
WORKDIR /src
COPY vendored/flannelcniplugin-src/ .
ENV CGO_ENABLED=1 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1786091006
RUN go build -trimpath -tags "netgo osusergo no_stage static_build" -ldflags='-extldflags -static -w -X main.Version=v1.9.1 -X main.Commit=b380f201 -X main.Program=flannel' -o /flannel . && /flannel version > /tmp/flannel.version 2>&1; cat /tmp/flannel.version; grep -qF 'CNI Plugin flannel version v1.9.1' /tmp/flannel.version || { echo 'flannel version does not report CNI Plugin flannel version v1.9.1'; exit 1; } && \
{ readelf -lW /flannel | sed -n 's/.*Requesting program interpreter: \(.*\)]$/\1/p'; readelf -dW /flannel | sed -n 's/.*Shared library: \[\(.*\)\]$/\1/p'; } > /flannel.needs
# rs-probe: the HEALTHCHECK helper (standard library only, from the kit's rs-probe.go)
FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build_rs_probe
WORKDIR /probe
COPY rs-probe.go main.go
COPY rs-probe.mod go.mod
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOFLAGS="-buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1786091006
RUN go build -trimpath -ldflags='-s -w' -o /rs-probe .
# the chiselled rootfs (vendored/chisel, cut by Dockerfile.vendor), the service user, the binaries
FROM ubuntu:24.04@sha256:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852 AS rootfs
ARG SOURCE_DATE_EPOCH=1786091006
ADD vendored/chisel/rootfs.tar /rootfs/
RUN printf 'flannelcniplugin:x:999:999::/var/lib/flannelcniplugin:/bin/sh\n' >> /rootfs/etc/passwd && printf 'flannelcniplugin:x:999:\n' >> /rootfs/etc/group && \
mkdir -p /rootfs/var/lib/flannelcniplugin && chown -R 999:999 /rootfs/var/lib/flannelcniplugin
COPY --from=build_flannel /flannel /rootfs/flannel
COPY --from=build_flannel /flannel.needs /tmp/needs/flannel
COPY --from=build_rs_probe /rs-probe /rootfs/usr/local/bin/rs-probeContinues: 23 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| File | Size | SHA-256 | Access |
|---|---|---|---|
| BASES.tsv | 264 B | 98233a2e2970… | Public · View |
| BUILD_OFFLINE.sh | 6.6 KB | 83299978ccd0… | Opening lines public |
| CHECKSUMS.sha256 | 244 KB | 2bf1539c7d4d… | Free account |
| DOCKERFILE_NAME.txt | 26 B | 9aadd1ede68e… | Public · View |
| Dockerfile | 3.8 KB | 75c41a26acd3… | Free account |
| Dockerfile.offline | 3.8 KB | 75c41a26acd3… | Free account |
| Dockerfile.offline.pinned | 3.8 KB | 75c41a26acd3… | Opening lines public |
| Dockerfile.vendor | 4.2 KB | d917d3c82687… | Free account |
| MANIFEST.txt | 134 KB | 3b5e19546272… | Free account |
| SOURCE_DATE_EPOCH.txt | 11 B | dcc2b1ce685a… | Public · View |
| TARGET_DIGEST.txt | 423 B | 385c6849c5c6… | Public · View |
| VERIFY_OFFLINE.sh | 9.9 KB | 3e8184ea230c… | Free account |
| docs/PROVENANCE.md | 1.8 KB | 212a74b61ba2… | Free account |
| docs/REBUILD.md | 5.4 KB | 807e11271a87… | Free account |
| docs/VERIFY.md | 2.0 KB | 8da1eedcf796… | Free account |
| docs/provenance/BASE_IMAGE_DIGESTS.lock | 82 B | 3f139d4a6633… | Public · View |
| docs/provenance/BUILD_RECIPE.json | 2.1 KB | c8b265e0e943… | Free account |
| docs/provenance/CUSTODY_INPUTS.json | 671 B | f88bbd6e41c7… | Free account |
| docs/provenance/SOURCE_FILE_MANIFEST.json | 766 B | 9863bd56b781… | Free account |
| docs/provenance/SOURCE_TREE_HASH.json | 327 B | 851d44d79586… | Public · View |
| docs/provenance/SYSTEM_PINNING.lock | 23 B | 0630392bbd9f… | Free account |
| docs/provenance/TOOLCHAIN.lock | 2.1 KB | ffb4bca3b8e6… | Free account |
| rebuild.json | 1.5 KB | 1b2b6e728dc2… | Free account |
| rs-probe.go | 3.1 KB | a8bdee17a358… | Free account |
| rs-probe.mod | 40 B | a480b79acf98… | Free account |
| toolchain/BUILDKIT_TAG.txt | 22 B | fcd530eeb02b… | Public · View |
Made from ReadyStack-flannelcniplugin-v1.9.1-flannel3-CE-ubuntu24.04-r1.tar.gz (SHA-256 46568ea441c873935be892737779c7498f71f188ec7962970b17e149a627f8b2), the build kit on sale for this release, on 2026-10-29.
What the Hermetic Build Kit adds
Free with a verified emailThe 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 packages1,538 files, 47 MB
- Handbooks, SBOM, security report and records78 files, 740 KB