Drupal 11.4.11 build recipe

The recipe ReadyStack built readystack/drupal:11.4.11-CE-ubuntu24.04-r2 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 34 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 34 recipe files; the build kit itself keeps its own terms.

Upstream source

Public

github.com/drupal/recommended-project (11.4.11) at 8a28d5d06552a136852de8a93fc597a146631536

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-php
  • SOURCE_DATE_EPOCH1792577930 (2026-10-21T10:18:50Z)
  • Target digest (linux/amd64)sha256:750301160d1fd55bdaacc55dd64a4b1efa06b4dba7dbabf03d02de3b2d3e1ed3
  • Target config digestsha256:9a8fe3a99ddb9a70207463c52d521c1e5c8665395267b6e81bd6f06adeaabb12
  • Checksummed kit files15,850 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

64 lines · 6.2 KB
# GENERATED L-009 hermetic PHP build on Ubuntu's own packages (--network=none, SBOM+SLSA-attestation-producing).
# Pinned ubuntu:24.04; vendored app source + the deb closure (Ubuntu's PHP 8.3, its extensions, Apache, runtime debs).
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
ENV DEBIAN_FRONTEND=noninteractive APACHE_RUN_USER=www-data APACHE_RUN_GROUP=www-data PATH=/opt/drupal/vendor/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
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
# Apache + PHP set up as the official php:apache image sets them up (the image this product's Debian releases
# ran on), so the product's scaffold, post_copy_run and entrypoint behave as they did there.
COPY readystack-php.ini /etc/php/8.3/apache2/php.ini
COPY readystack-php.ini /etc/php/8.3/cli/php.ini
COPY readystack-mod-php.conf /etc/apache2/mods-available/php8.3.conf
COPY readystack-php.conf /etc/apache2/conf-available/readystack-php.conf
COPY apache2-foreground /usr/local/bin/apache2-foreground
RUN chmod 0755 /usr/local/bin/apache2-foreground && \
    sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' /etc/apache2/envvars && \
    a2dismod -q mpm_event && a2enmod -q mpm_prefork && a2enconf -q readystack-php && \
    rm -rf /var/www/html && mkdir -p /var/www/html && chown www-data:www-data /var/www/html && chmod 1777 /var/www/html && \
    for d in /var/lock/apache2 /var/run/apache2 /var/log/apache2 /var/run/apache2/socks; do \

Continues: 40 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

34 files · SHA-256 of each as published here
FileSizeSHA-256Access
BASES.tsv121 B0da49a3ea98f…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha2562.3 MB561b62db0951…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile6.2 KB0a4e541e72a6…Free account
Dockerfile.offline6.2 KB0a4e541e72a6…Free account
Dockerfile.offline.pinned6.2 KB0a4e541e72a6…Opening lines public
Dockerfile.vendor2.2 KB206aa2234d15…Free account
MANIFEST.txt1.2 MB31a2c3053776…Free account
SOURCE_DATE_EPOCH.txt11 B500c718328ab…Public · View
TARGET_DIGEST.txt321 Bf661620c6ad3…Public · View
VERIFY_OFFLINE.sh7.2 KB8b036b1f9a7f…Free account
apache2-foreground732 B003f1949772a…Free account
docker-entrypoint.sh473 B14731358369d…Free account
docs/PROVENANCE.md1.7 KB7e74c25beeb4…Free account
docs/REBUILD.md5.1 KB01adebc6252f…Free account
docs/VERIFY.md1.9 KB26156c07747d…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock49 B0633357c2a2e…Public · View
docs/provenance/BUILD_RECIPE.json4.6 KB8c83cfb29744…Free account
docs/provenance/CUSTODY_INPUTS.json658 B8cf66e8026e1…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json167 B7b454c25b997…Free account
docs/provenance/SOURCE_TREE_HASH.json313 Bcd3f91800c5b…Public · View
docs/provenance/SYSTEM_PINNING.lock178 B8ac48ab14748…Free account
docs/provenance/TOOLCHAIN.lock2.4 KB524e4e36c4b9…Free account
drupal-first-start.php3.1 KB0661712b59cf…Free account
drupal-set-password.php1.3 KB86074ac39743…Free account
drupal-vhost.conf947 B58bd2ca7103b…Free account
drupal.ini491 B6fcbdde4d372…Free account
readystack-mod-php.conf390 Bf8eb513ee5ae…Free account
readystack-php.conf396 Bd15053c81ce9…Free account
readystack-php.ini281 Ba6b6e823b84e…Free account
rebuild.json1.2 KBf7dbdae7654c…Free account
settings.php3.3 KB41d596724115…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View

Made from ReadyStack-drupal-11.4.11-CE-ubuntu24.04-r2.tar.gz (SHA-256 f263cf6de385f95e70d5aaa1fd3e9a786b56b37e6c71d2ffd3d78e2b18c3c595), 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:

  • Pinned BuildKit toolchain1 files, 106 MB
  • Vendored sources and packages15,748 files, 98 MB
  • Base images (OCI layouts)5 files, 28 MB
  • Handbooks, SBOM, security report and records64 files, 5.3 MB