Wiki.js 3.0.0-beta.685 build recipe

The recipe ReadyStack built readystack/wikijs:3.0.0-beta.685-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 account

An 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

Public

github.com/requarks/wiki (3.0.0-beta.685) at a53dea81734a29428729b7043f4aaabf57e41de1

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 methodsource-rebuild-node
  • SOURCE_DATE_EPOCH1792473233 (2026-10-20T05:13:53Z)
  • Target digest (linux/amd64)sha256:1d70c95a3332c0432bf7584f2f5dba1d4b9bfc3d5d75f8e8e168117d470b33ec
  • Target config digestsha256:df473c2ac42b603bb160220876dd0df852bae6a2ae5646dc5b043aea521960f9
  • Checksummed kit files42,868 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

48 lines · 4.8 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 '0fd1eb7770598f52a21995edf6ed35fc690400fa437c2386af329519e9143132  node-v26.12.1-linux-x64.tar.gz' | sha256sum -c - && \
    mkdir -p /opt/node && tar -xzf node-v26.12.1-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
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=1792473233
RUN node --version && groupadd -r wiki && useradd -r -g wiki -d /wiki -m wiki && \
    : "${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: 24 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
FileSizeSHA-256Access
BASES.tsv121 B0da49a3ea98f…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha2566.3 MBff25643f62f4…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile4.8 KBcbcabcb81902…Free account
Dockerfile.offline4.8 KBcbcabcb81902…Free account
Dockerfile.offline.pinned4.8 KBcbcabcb81902…Opening lines public
Dockerfile.vendor4.4 KB52b53064b417…Free account
MANIFEST.txt3.5 MB6c635e32cfc0…Free account
SOURCE_DATE_EPOCH.txt11 Babdb1dd9c96e…Public · View
TARGET_DIGEST.txt446 B939ed95f0d67…Public · View
VERIFY_OFFLINE.sh7.2 KB8b036b1f9a7f…Free account
docs/PROVENANCE.md1.7 KB56211ea52f8f…Free account
docs/REBUILD.md5.1 KB043f5870db52…Free account
docs/VERIFY.md1.9 KB66cb227b9218…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock49 B0e2ffadbb66a…Public · View
docs/provenance/BUILD_RECIPE.json3.7 KBd4f145d6e8fb…Free account
docs/provenance/CUSTODY_INPUTS.json652 Bf1fefbc8be34…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json67 KBd3d3d22d8671…Free account
docs/provenance/SOURCE_TREE_HASH.json310 B250e7f9f4621…Public · View
docs/provenance/SYSTEM_PINNING.lock70 Bad62bc4eb7b3…Free account
docs/provenance/TOOLCHAIN.lock4.7 KBf570ecd0f38a…Free account
entrypoint.sh639 B8d04384effe4…Free account
rebuild.json1.2 KBa1d37c948e77…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View

Made from ReadyStack-wikijs-3.0.0-beta.685-CE-ubuntu24.04-r3.tar.gz (SHA-256 b3badce307649473adbffc9cad5216510d21cdae93bc7ce699531ff5bcb6cae0), 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:

  • Vendored sources and packages41,440 files, 363 MB
  • Pinned BuildKit toolchain1 files, 106 MB
  • Base images (OCI layouts)5 files, 28 MB
  • Handbooks, SBOM, security report and records1,399 files, 23 MB