NodeBB v4.16.4 build recipe
The recipe ReadyStack built readystack/nodebb:v4.16.4-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 25 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 25 recipe files; the build kit itself keeps its own terms.
Upstream source
Publicgithub.com/NodeBB/NodeBB (v4.16.4) at 38b0bbac00d26e663cbc40287e7c97788ab44ca7
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-node - SOURCE_DATE_EPOCH1792775732 (2026-10-23T17:15:32Z)
- Target digest (linux/amd64)sha256:2fcef1179723d202929cc7e7805149f3127c64758d5789ac0fbbc009ad43f5c4
- Target config digestsha256:8b84ec9aadaa960cde806a9c41b678c7963ee9dc07806c8cfdf16ce1edd72068
- Checksummed kit files60,976 (CHECKSUMS.sha256)
Dockerfile Dockerfile.offline.pinned
46 lines · 3.5 KB# GENERATED L-009 hermetic Node build (--network=none, SBOM+SLSA-attestation-producing).
# Pinned base from BASE_IMAGE_DIGESTS.lock; vendored resolved /app tree + debs from Dockerfile.vendor.
# NO install verb offline — the fully-resolved, prod-pruned node_modules is COPYd verbatim.
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c AS nodedist
COPY vendored/node/ /nodedist/
RUN cd /nodedist && echo '6e1db87ef58b8819e5d5402eff1536491b18edd8eb7bee5ef7897876e88dc5ff node-v24.21.0-linux-x64.tar.gz' | sha256sum -c - && \
mkdir -p /opt/node && tar -xzf node-v24.21.0-linux-x64.tar.gz -C /opt/node --strip-components=1 --no-same-owner && \
mkdir -p /opt/node/share/doc/nodejs && mv /opt/node/LICENSE /opt/node/share/doc/nodejs/LICENSE && \
rm -rf /opt/node/CHANGELOG.md /opt/node/README.md /opt/node/lib/node_modules/npm /opt/node/lib/node_modules/corepack /opt/node/bin/npm /opt/node/bin/npx /opt/node/bin/corepack
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
ENV DEBIAN_FRONTEND=noninteractive NODE_ENV=production NODEBB_URL=http://localhost:4567 NODEBB_DB=redis NODEBB_PORT=4567
RUN --mount=type=bind,source=vendored/debs,target=/tmp/debs \
set --; for f in /tmp/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; }; } && \
rm -rf /var/lib/apt/lists/* \
/var/log/dpkg.log /var/log/alternatives.log /var/log/apt /var/cache/ldconfig/aux-cache /var/cache/fontconfig
COPY --from=nodedist /opt/node/ /usr/local/
ARG SOURCE_DATE_EPOCH=1792775732
RUN node --version && groupadd -r -g 1001 nodebb && useradd -r -u 1001 -g nodebb -d /app -m nodebb && \
: "${SOURCE_DATE_EPOCH:?SOURCE_DATE_EPOCH must be set for a reproducible build}" && \
sed -ri "s/^([^:]*:[^:]*):[0-9]*:/\1:$((SOURCE_DATE_EPOCH/86400)):/" /etc/shadow && \Continues: 22 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
25 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 | 8.3 MB | 78529256990a… | Free account |
| DOCKERFILE_NAME.txt | 26 B | 9aadd1ede68e… | Public · View |
| Dockerfile | 3.5 KB | 303c03e80e97… | Free account |
| Dockerfile.offline | 3.5 KB | 303c03e80e97… | Free account |
| Dockerfile.offline.pinned | 3.5 KB | 303c03e80e97… | Opening lines public |
| Dockerfile.vendor | 3.6 KB | 66cc72619a8c… | Free account |
| MANIFEST.txt | 4.4 MB | 490e5e8ce7b0… | Free account |
| SOURCE_DATE_EPOCH.txt | 11 B | 1aedf5834b3e… | Public · View |
| TARGET_DIGEST.txt | 433 B | e0fbef8c1fee… | Public · View |
| VERIFY_OFFLINE.sh | 7.2 KB | 8b036b1f9a7f… | Free account |
| docs/PROVENANCE.md | 1.7 KB | e0df77350a57… | Free account |
| docs/REBUILD.md | 5.1 KB | af9c7a05b342… | Free account |
| docs/VERIFY.md | 1.9 KB | 109119fde061… | Free account |
| docs/provenance/BASE_IMAGE_DIGESTS.lock | 49 B | 5931a08867a7… | Public · View |
| docs/provenance/BUILD_RECIPE.json | 5.0 KB | 89f16fb6ed83… | Free account |
| docs/provenance/CUSTODY_INPUTS.json | 645 B | 211b774d7724… | Free account |
| docs/provenance/SOURCE_FILE_MANIFEST.json | 231 KB | 1f762ab01c3a… | Free account |
| docs/provenance/SOURCE_TREE_HASH.json | 303 B | 4396525ea0c2… | Public · View |
| docs/provenance/SYSTEM_PINNING.lock | 38 B | 5b00b1840dc7… | Free account |
| docs/provenance/TOOLCHAIN.lock | 3.6 KB | 12b1db153155… | Free account |
| entrypoint.sh | 3.0 KB | d599321da67a… | Free account |
| rebuild.json | 1.2 KB | e637e9cf18b6… | Free account |
| toolchain/BUILDKIT_TAG.txt | 22 B | fcd530eeb02b… | Public · View |
Made from ReadyStack-nodebb-v4.16.4-CE-ubuntu24.04-r3.tar.gz (SHA-256 09afe382a0812e52e523f150c3fcf2884acb3eb4043860593867e3671efe0396), 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 packages55,091 files, 629 MB
- Pinned BuildKit toolchain1 files, 106 MB
- Base images (OCI layouts)5 files, 28 MB
- Handbooks, SBOM, security report and records5,855 files, 25 MB