NetBox v4.7.3 build recipe
The recipe ReadyStack built readystack/netbox:v4.7.3-CE-ubuntu24.04-r3 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 31 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 31 recipe files; the build kit itself keeps its own terms.
Upstream source
Publicgithub.com/netbox-community/netbox (v4.7.3) at 3cd2c1d6469caed6c50e80eddd4cde863e0e2cf5
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 imageubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
- BuildKitmoby/buildkit:v0.31.2
sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0 - Build method
source-rebuild-python - SOURCE_DATE_EPOCH1791892093 (2026-10-13T11:48:13Z)
- Target digest (linux/amd64)sha256:0bc952bc8426a4d8c6d78ae90724f8e1b2e7eded75d5539380e6c5a1c29ecc58
- Target config digestsha256:c95df08d6654c3fd6f1a108ca83d8ba63601e68094f9fd61383b382f9f416e2e
- Checksummed kit files2,471 (CHECKSUMS.sha256)
Dockerfile Dockerfile.offline.pinned
75 lines · 7.4 KB# NetBox v4.7.3 (Apache-2.0) HERMETIC OFFLINE BUILD. --network=none.
# CPython 3.12.15 COMPILED HERE, offline (--network=none), from python.org's tarball (sha256 re-checked) and
# the vendored build debs, by the same command the vendor stage ran; linked against Ubuntu's libraries.
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c AS cpython
ARG SOURCE_DATE_EPOCH=1790712880
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
COPY vendored/netbox-src/python/debs/ /tmp/cpython-debs/
COPY vendored/netbox-src/python/Python-3.12.15.tar.xz /tmp/Python-3.12.15.tar.xz
RUN set --; for f in /tmp/cpython-debs/*.deb; do [ -e "$f" ] && set -- "$@" "$f"; done; \
for pass in 1 2 3 4 5; do [ $# -eq 0 ] || dpkg -i --skip-same-version "$@" >/dev/null 2>&1 && break; done; \
dpkg --configure -a && bad= && for d in "$@"; do p=$(dpkg-deb -f "$d" Package) v=$(dpkg-deb -f "$d" Version); \
case "$(dpkg-query -W -f='${Version} ${db:Status-Abbrev}' "$p" 2>/dev/null)" in "$v ii"*) ;; *) bad="$bad $p=$v" ;; esac; done && \
{ [ -z "$bad" ] || { echo "vendored debs not installed at their vendored version:$bad" >&2; false; }; } && \
: "${SOURCE_DATE_EPOCH:?the CPython build needs SOURCE_DATE_EPOCH}" && \
echo "c2c4321961fab0fb999d66e0cecf521c2ab3994c7992873ea99e306c1094fd5a /tmp/Python-3.12.15.tar.xz" | sha256sum -c - && \
mkdir -p /usr/src/python && tar -xJf /tmp/Python-3.12.15.tar.xz -C /usr/src/python --strip-components=1 --no-same-owner && \
rm -rf /tmp/cpython-debs /tmp/Python-3.12.15.tar.xz && cd /usr/src/python && \
export DEB_BUILD_MAINT_OPTIONS=optimize=-lto && \
PYCF="$(dpkg-buildflags --get CFLAGS) $(dpkg-buildflags --get CPPFLAGS)" && PYLD="$(dpkg-buildflags --get LDFLAGS)" && \
./configure --build=x86_64-linux-gnu --prefix=/usr/local --enable-shared --enable-loadable-sqlite-extensions --enable-option-checking=fatal --disable-test-modules --without-static-libpython --with-ensurepip=install --with-system-expat --without-system-libmpdec --with-dbmliborder= py_cv_module__dbm=n/a py_cv_module__gdbm=n/a py_cv_module__tkinter=n/a && \
make -j"$(nproc)" "EXTRA_CFLAGS=$PYCF" "LDFLAGS=$PYLD,--strip-all" && \
rm python && make -j"$(nproc)" "EXTRA_CFLAGS=$PYCF" "LDFLAGS=$PYLD,--strip-all,-rpath='\$\$ORIGIN/../lib'" python && \
make install COMPILEALL_OPTS=--invalidation-mode=checked-hash && \
cd / && rm -rf /usr/src/python /usr/local/lib/python3.12/idlelib /usr/local/lib/python3.12/tkinter /usr/local/lib/python3.12/turtledemo /usr/local/bin/idle3* && \Continues: 51 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
31 files · SHA-256 of each as published here| File | Size | SHA-256 | Access |
|---|---|---|---|
| BASES.tsv | 121 B | 0da49a3ea98f… | Public · View |
| BUILD_OFFLINE.sh | 6.6 KB | 83299978ccd0… | Opening lines public |
| CHECKSUMS.sha256 | 334 KB | 259f937b7660… | Free account |
| DOCKERFILE_NAME.txt | 26 B | 9aadd1ede68e… | Public · View |
| Dockerfile | 7.4 KB | aa19f8feb093… | Free account |
| Dockerfile.offline | 7.4 KB | aa19f8feb093… | Free account |
| Dockerfile.offline.pinned | 7.4 KB | aa19f8feb093… | Opening lines public |
| Dockerfile.vendor | 11 KB | 8bfee099aaf7… | Free account |
| MANIFEST.txt | 170 KB | 3a99a981c0ca… | Free account |
| SOURCE_DATE_EPOCH.txt | 11 B | 272b279a37ea… | Public · View |
| TARGET_DIGEST.txt | 435 B | 9f368a1e4bb2… | Public · View |
| VERIFY_OFFLINE.sh | 7.2 KB | 8b036b1f9a7f… | Free account |
| configuration.py | 22 KB | 938314634342… | Free account |
| constraints.txt | 1.3 KB | fe49257919a2… | Free account |
| docs/PROVENANCE.md | 1.7 KB | fa68840e7bb7… | Free account |
| docs/REBUILD.md | 5.0 KB | 00ba936bf576… | Free account |
| docs/VERIFY.md | 1.9 KB | a929e522dad5… | Free account |
| docs/provenance/BASE_IMAGE_DIGESTS.lock | 49 B | 29ed82d2e65f… | Public · View |
| docs/provenance/BUILD_RECIPE.json | 2.6 KB | 8fb7836bcca9… | Free account |
| docs/provenance/CUSTODY_INPUTS.json | 654 B | d555ad1c31b3… | Free account |
| docs/provenance/SOURCE_FILE_MANIFEST.json | 107 KB | 90ac09192637… | Free account |
| docs/provenance/SOURCE_TREE_HASH.json | 312 B | cbf4bfdad23a… | Public · View |
| docs/provenance/SYSTEM_PINNING.lock | 1 B | 01ba4719c80b… | Free account |
| docs/provenance/TOOLCHAIN.lock | 1.1 KB | 392a9df01e80… | Free account |
| entrypoint.sh | 1.9 KB | 3d93a79f814b… | Free account |
| gunicorn.py | 129 B | 20a2f4b07c56… | Free account |
| readystack_wsgi.py | 879 B | dde7feccabf7… | Free account |
| rebuild.json | 1.2 KB | 926c300bf303… | Free account |
| super_user.py | 1.9 KB | a61cfe30ca4b… | Free account |
| supervisor-netbox.conf | 585 B | 9f679883b497… | Free account |
| toolchain/BUILDKIT_TAG.txt | 22 B | fcd530eeb02b… | Public · View |
Made from ReadyStack-netbox-v4.7.3-CE-ubuntu24.04-r3.tar.gz (SHA-256 8b59a6497a776b001f8713b4c3917660af321b12ae76483863e82da63f6e8eb6), 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:
- Vendored sources and packages80 files, 396 MB
- Pinned BuildKit toolchain1 files, 106 MB
- Handbooks, SBOM, security report and records2,356 files, 72 MB
- Base images (OCI layouts)5 files, 28 MB