Discourse v2026.9.1 build recipe
The recipe ReadyStack built readystack/discourse:v2026.9.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 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/discourse/discourse (v2026.9.1) at 4f3dc460226b37e001c5f42db397cc891a357701
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:
- git https://github.com/discourse/discourse v2026.9.1
- https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.11.tar.gz
- https://cache.ruby-lang.org/pub/ruby/index.txt
- https://nodejs.org/dist/v24.21.0/node-v24.21.0-linux-x64.tar.gz
- https://nodejs.org/dist/v24.21.0/SHASUMS256.txt
- https://github.com/ImageMagick/ImageMagick/archive/7.1.2-33.tar.gz
Pinned inputs
As JSON- Base imageubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
- BuildKitmoby/buildkit:v0.31.2
sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0 - Build method
source-rebuild-ruby - SOURCE_DATE_EPOCH1792774247 (2026-10-23T16:50:47Z)
- Target digest (linux/amd64)sha256:ac5369835d0a1705eae615e4cf1bb2ae8c14974ca63e7fb8aacb244d2a4bec11
- Target config digestsha256:b1126c50967162dded21e69b1ab10fb00fec1448c554b40f12c273de0bfd2ecc
- Checksummed kit files50,276 (CHECKSUMS.sha256)
Dockerfile Dockerfile.offline.pinned
82 lines · 7.4 KB# GENERATED L-009 hermetic Ruby build (--network=none, SBOM+SLSA-attestation-producing).
# Compiles CRuby 3.4.11 from the vendored ruby-lang.org tarball and the native gems from vendor/cache, then
# copies Ruby + the installed bundle onto the pinned base with only runtime debs: no compiler, headers or Node.
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c AS rubybuild
ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8
RUN --mount=type=bind,source=vendored/debs,target=/tmp/debs --mount=type=bind,source=vendored/build-debs,target=/tmp/bdebs \
set --; for f in /tmp/debs/*.deb /tmp/bdebs/*.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; }; }
ARG SOURCE_DATE_EPOCH=1792774247
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
COPY vendored/ruby/ /tmp/ruby/
RUN cd /tmp/ruby && echo '5c22be44524312b3d433d68739bcc530633b1da5ef8ba0afa0a37680da17d3de ruby-3.4.11.tar.gz' | sha256sum -c - && \
tar -xzf ruby-3.4.11.tar.gz && cd ruby-3.4.11 && \
./configure --prefix=/usr/local --enable-shared --disable-install-doc --disable-install-static-library --enable-yjit && \
make -j"$(nproc)" && make install && \
cd / && rm -rf /tmp/ruby && \
find /usr/local/lib/ruby \( -name gem_make.out -o -name mkmf.log \) -delete && \
ruby --version | grep -qF 'ruby 3.4.11'
COPY kitforge-ruby-gems.rb /tmp/kitforge-ruby-gems.rb
COPY vendored/ruby-gems/ /tmp/ruby-gems/
RUN ruby /tmp/kitforge-ruby-gems.rb install /tmp/ruby-gems && \Continues: 58 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 | 121 B | 0da49a3ea98f… | Public · View |
| BUILD_OFFLINE.sh | 6.6 KB | 83299978ccd0… | Opening lines public |
| CHECKSUMS.sha256 | 7.5 MB | 068032c59ec8… | Free account |
| DOCKERFILE_NAME.txt | 26 B | 9aadd1ede68e… | Public · View |
| Dockerfile | 7.4 KB | 44a8807ee227… | Free account |
| Dockerfile.offline | 7.4 KB | 44a8807ee227… | Free account |
| Dockerfile.offline.pinned | 7.4 KB | 44a8807ee227… | Opening lines public |
| Dockerfile.vendor | 9.8 KB | ce27dc62c618… | Free account |
| MANIFEST.txt | 4.2 MB | f5c277a42400… | Free account |
| SOURCE_DATE_EPOCH.txt | 11 B | 3fa4fd3657cb… | Public · View |
| TARGET_DIGEST.txt | 445 B | cf90ceb11f88… | Public · View |
| VERIFY_OFFLINE.sh | 7.9 KB | dc0b5cd5c104… | Free account |
| discourse-entrypoint.sh | 625 B | cbdb72f86df3… | Free account |
| docs/PROVENANCE.md | 1.7 KB | 855dbadd853e… | Free account |
| docs/REBUILD.md | 5.0 KB | fcd956d5625a… | Free account |
| docs/VERIFY.md | 1.9 KB | 3068f5091618… | Free account |
| docs/provenance/BASE_IMAGE_DIGESTS.lock | 52 B | 1dc5394664a9… | Public · View |
| docs/provenance/BUILD_RECIPE.json Published with 1 redaction (internal host, line 82); the kit's own copy: ed63e99c82d5… | 12 KB | 44f710dcd955… | Free account |
| docs/provenance/CUSTODY_INPUTS.json | 656 B | c804ecf0945d… | Free account |
| docs/provenance/SOURCE_FILE_MANIFEST.json | 295 KB | 72c5466ac719… | Free account |
| docs/provenance/SOURCE_TREE_HASH.json | 315 B | dec63e326412… | Public · View |
| docs/provenance/SYSTEM_PINNING.lock | 777 B | 40d8a43134ec… | Free account |
| docs/provenance/TOOLCHAIN.lock | 7.1 KB | 67a27d38c57f… | Free account |
| kitforge-ruby-gems.rb | 5.4 KB | 7f6627293be0… | Free account |
| rebuild.json | 1.2 KB | 65e27091aa5d… | Free account |
| toolchain/BUILDKIT_TAG.txt | 22 B | fcd530eeb02b… | Public · View |
Made from ReadyStack-discourse-v2026.9.1-CE-ubuntu24.04-r1.tar.gz (SHA-256 88655afcd87d5e5e35c08e9d38871f3a074dfaf36b50ba07603584a254b763d6), 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 packages23,866 files, 808 MB
- Handbooks, SBOM, security report and records26,380 files, 190 MB
- Pinned BuildKit toolchain1 files, 106 MB
- Base images (OCI layouts)5 files, 28 MB