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 account

An 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.

Pinned inputs

As JSON
  • Base imageubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
  • BuildKitmoby/buildkit:v0.31.2
    sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0
  • Build methodsource-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
FileSizeSHA-256Access
BASES.tsv121 B0da49a3ea98f…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha2567.5 MB068032c59ec8…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile7.4 KB44a8807ee227…Free account
Dockerfile.offline7.4 KB44a8807ee227…Free account
Dockerfile.offline.pinned7.4 KB44a8807ee227…Opening lines public
Dockerfile.vendor9.8 KBce27dc62c618…Free account
MANIFEST.txt4.2 MBf5c277a42400…Free account
SOURCE_DATE_EPOCH.txt11 B3fa4fd3657cb…Public · View
TARGET_DIGEST.txt445 Bcf90ceb11f88…Public · View
VERIFY_OFFLINE.sh7.9 KBdc0b5cd5c104…Free account
discourse-entrypoint.sh625 Bcbdb72f86df3…Free account
docs/PROVENANCE.md1.7 KB855dbadd853e…Free account
docs/REBUILD.md5.0 KBfcd956d5625a…Free account
docs/VERIFY.md1.9 KB3068f5091618…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock52 B1dc5394664a9…Public · View
docs/provenance/BUILD_RECIPE.json
Published with 1 redaction (internal host, line 82); the kit's own copy: ed63e99c82d5…
12 KB44f710dcd955…Free account
docs/provenance/CUSTODY_INPUTS.json656 Bc804ecf0945d…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json295 KB72c5466ac719…Free account
docs/provenance/SOURCE_TREE_HASH.json315 Bdec63e326412…Public · View
docs/provenance/SYSTEM_PINNING.lock777 B40d8a43134ec…Free account
docs/provenance/TOOLCHAIN.lock7.1 KB67a27d38c57f…Free account
kitforge-ruby-gems.rb5.4 KB7f6627293be0…Free account
rebuild.json1.2 KB65e27091aa5d…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…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 email

The 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