Apache CouchDB 3.5.3 build recipe

The recipe ReadyStack built readystack/couchdb:3.5.3-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 31 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

ReadyStack does not charge for recipes; we only ask you to sign up. An account is an email address, a username and a password. It opens all 31 recipe files, and the build kit downloads free with it too.

Upstream source

Public

github.com/apache/couchdb (3.5.3) at 7a1f97558cea50d7e79604c3f0707d4adfad3708

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:2198e4c65076e9cb0b3d695219df667c0e3b0072da64ca3c2648aca17dcecaf5
  • BuildKitmoby/buildkit:v0.31.2
    sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0
  • Build methodsource-rebuild-erlang
  • SOURCE_DATE_EPOCH1791332599 (2026-10-07T00:23:19Z)
  • Target digest (linux/amd64)sha256:aae9bff0d7d1498b6861126cce244f0825e7fc0e79550c1e357da8ed79bbbdfa
  • Target config digestsha256:550611b47359a664628a379bc580c362f1f556ee1d3f431cfea46b5af2a5abda
  • Checksummed kit files6,396 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

92 lines · 7.8 KB
# GENERATED L-009 hermetic Erlang build (--network=none, SBOM+SLSA-attestation-producing).
# Pinned bases from BASE_IMAGE_DIGESTS.lock; vendored erlang.mk deps/ + source-dist tarball + debs from Dockerfile.vendor.
FROM ubuntu:24.04@sha256:2198e4c65076e9cb0b3d695219df667c0e3b0072da64ca3c2648aca17dcecaf5 AS otpbuild
ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 LC_ALL=C.UTF-8
# dpkg-install the vendored build toolchain (gcc/g++/make/perl/libssl-dev/libncurses-dev/...) — no apt, fully offline.
RUN --mount=type=bind,source=vendored/build-debs,target=/tmp/bdebs \
    set --; for f in /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; }; }
COPY vendored/otp-src/ /tmp/otp-src/
ARG SOURCE_DATE_EPOCH=1791332599
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
# Erlang/OTP 28.5.0.8 from source into /usr/local, linked against this base's OpenSSL/ncurses/zlib.
RUN : "${SOURCE_DATE_EPOCH:?the OTP build needs SOURCE_DATE_EPOCH}" && \
    echo "8a696e15bcbe5d57197b1f4c03c92d415f9fd9af70f9222a05911c8a5463cba6  /tmp/otp-src/otp_src_28.5.0.8.tar.gz" | sha256sum -c - && \
    echo "2f87be1702583ecbeee82c0ad4d6353de96463cfa0fa6e7557e05f68d90da869  /tmp/otp-src/elixir-1.20.4.tar.gz" | sha256sum -c - && \
    mkdir -p /usr/src/otp && tar -xzf /tmp/otp-src/otp_src_28.5.0.8.tar.gz -C /usr/src/otp --strip-components 1 --no-same-owner && \
    cd /usr/src/otp && export ERL_TOP=/usr/src/otp && \
    ./configure --prefix=/usr/local --without-javac --without-wx --without-odbc --disable-sctp --enable-jit && \
    make -j"$(nproc)" && make install && \
    find /usr/local/lib/erlang -type d -name examples -exec rm -rf '{}' + && \
    cd / && rm -rf /usr/src/otp

Continues: 68 more lines. Create a free account to read the rest, or sign in.

Build script BUILD_OFFLINE.sh

162 lines · 8.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. Your build platform runs
#                                     the build and signs that provenance with a key the build steps cannot reach
#                                     (see REBUILD.md). Any SLSA build level is your platform's; this archive claims
#                                     none. The image digest is the same either way.
#   ./BUILD_OFFLINE.sh --restore-modes   only put back file modes your unpacking changed (see below), then exit
#
# File modes are build input: COPY carries them into the image. `tar -xzf` without -p, as a non-root user, applies
# your umask to every file (664 becomes 644 under umask 022). FILE_MODES.tsv records every file's and directory's
# mode as packed, and every run of this script first puts back any that differ.
# =============================================================================
set -euo pipefail

Continues: 138 more lines. Create a free account to read the rest, or sign in.

Recipe files

31 files · SHA-256 of each as published here
FileSizeSHA-256Access
10-docker-default.ini248 B341de8813412…Free account
BASES.tsv121 B4f393d669441…Public · View
BUILD_OFFLINE.sh8.6 KB6ab4f08a6ec7…Opening lines public
CHECKSUMS.sha256844 KB3b0e9e59b907…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile7.8 KB58eb2d563396…Free account
Dockerfile.offline7.8 KB58eb2d563396…Free account
Dockerfile.offline.pinned7.8 KB58eb2d563396…Opening lines public
Dockerfile.vendor3.9 KB81d681805b20…Free account
FILE_MODES.tsv502 KB8c7e616b6b4e…Free account
MANIFEST.txt419 KB968d1997ae82…Free account
README.md3.2 KBcf5c0eb5a05a…Free account
SOURCE_DATE_EPOCH.txt11 B4d2c1af373a5…Public · View
TARGET_DIGEST.txt338 B91f530544acc…Public · View
VERIFY_OFFLINE.sh9.9 KB3e8184ea230c…Free account
docker-entrypoint.sh5.0 KBd3042b6e100b…Free account
docs/PROVENANCE.md2.5 KB867a63a3681e…Free account
docs/REBUILD.md5.9 KBdcf55b079928…Free account
docs/VERIFY.md2.0 KBc8a1e1d123da…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock62 B431540d66f80…Public · View
docs/provenance/BUILD_RECIPE.json3.8 KBad5f09ec533d…Free account
docs/provenance/CUSTODY_INPUTS.json645 B6188b45ce82b…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json69 KBeef7f62bab5e…Free account
docs/provenance/SOURCE_TREE_HASH.json303 B672101c4c348…Public · View
docs/provenance/SYSTEM_PINNING.lock99 Be440cf3bd377…Free account
docs/provenance/TOOLCHAIN.lock3.2 KB4b716daddd4b…Free account
kitforge-7z569 Bce8e4a1bf6d4…Free account
kitforge-zip-sde5.3 KB3251debef7e8…Free account
rebuild.json1.2 KBad2ff400f5bd…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View
vm.args1.8 KB5f84c4bfc47f…Free account

Something wrong in this recipe? Report a recipe error on the public issue tracker.

Made from ReadyStack-couchdb-3.5.3-CE-ubuntu24.04-r1.tar.gz (SHA-256 6e8bc30d4ad1ad4f0e2ab4fd8692a71791de3e492b0f11f127faa64e871b1d51), the build kit published for this release, on 2026-11-13.

What the Hermetic Build Kit adds

Free with an account

The recipe pins every input; the kit carries them, so the build runs with the network off:

  • Vendored sources and packages4,784 files, 333 MB
  • Pinned BuildKit toolchain1 files, 106 MB
  • Base images (OCI layouts)5 files, 28 MB
  • Handbooks, SBOM, security report and records1,577 files, 20 MB