Apache httpd 2.4.70 build recipe

The recipe ReadyStack built readystack/httpd:2.4.70-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 28 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 28 recipe files, and the build kit downloads free with it too.

Upstream source

Public

github.com/apache/httpd (2.4.70) at e8ada83f004f63bca1e0cc75e374bc25b06cdc7b

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 imagegolang:1.27.3-bookworm@sha256:972b4110ba0f47539a975c31e52c64765e1ff19f2d74469ae4a595c6676e80a5
  • Base imageubuntu:24.04@sha256:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852
  • BuildKitmoby/buildkit:v0.31.2
    sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0
  • Build methodsource-rebuild-c
  • SOURCE_DATE_EPOCH1793721009 (2026-11-03T15:50:09Z)
  • Target digest (linux/amd64)sha256:8d95c6929ea1e4cad95feef3b7fc0d7564dee59f5da6eb3d4b58ce3880949a1f
  • Target config digestsha256:e2b317d110c7f7b7d8872ab4174292cde10ec65a186a1f5ff22da1694b9a2afa
  • Checksummed kit files11,336 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

78 lines · 6.0 KB
# GENERATED L-009 hermetic C build (--network=none, SBOM+SLSA-attestation-producing).
# Pinned bases; vendored source (in-tree deps) + extra build debs + runtime debs from Dockerfile.vendor.
FROM ubuntu:24.04@sha256:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852 AS cbuild
# dpkg-install the vendored EXTRA build debs (pkg-config/libssl-dev/...) — gcc/make are in the builder.
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; }; }
WORKDIR /src
COPY vendored/httpd-src/ .
ARG SOURCE_DATE_EPOCH=1793721009
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
RUN ./configure --prefix=/opt/httpd --enable-mods-shared=most --disable-ldap --disable-authnz-ldap --enable-mpms-shared=all --with-mpm=event --enable-ssl --enable-http2 --enable-deflate --enable-pie --with-apr=/usr/bin/apr-1-config --with-apr-util=/usr/bin/apu-1-config
RUN make -j"$(nproc)"
RUN make install
RUN rm -rf /opt/httpd/manual /opt/httpd/man
RUN /opt/httpd/bin/httpd -v | grep -q 'Server version: Apache/2.4.70 (Unix)'
RUN set -eu; find /opt/httpd -type f | LC_ALL=C sort | while read -r f; do \
      readelf -h "$f" >/dev/null 2>&1 || continue; \
      readelf -lW "$f" | sed -n 's/.*Requesting program interpreter: \(.*\)]$/\1/p'; \
      readelf -dW "$f" | sed -n 's/.*Shared library: \[\(.*\)\]$/\1/p'; \
    done | LC_ALL=C sort -u | while read -r lib; do case "$lib" in \

Continues: 54 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. 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.
# =============================================================================
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

28 files · SHA-256 of each as published here
FileSizeSHA-256Access
BASES.tsv262 Beb58a8062550…Public · View
BUILD_OFFLINE.sh6.6 KB6633aa31b6b4…Opening lines public
CHECKSUMS.sha2561.4 MB42a7f027bc66…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile6.0 KB68ae9fdebf4e…Free account
Dockerfile.offline6.0 KB68ae9fdebf4e…Free account
Dockerfile.offline.pinned6.0 KB68ae9fdebf4e…Opening lines public
Dockerfile.vendor7.3 KB04fc77dc32f4…Free account
MANIFEST.txt692 KB7da5ccd33db7…Free account
SOURCE_DATE_EPOCH.txt11 B445c6a9d7611…Public · View
TARGET_DIGEST.txt273 B482820642fc2…Public · View
VERIFY_OFFLINE.sh9.9 KB3e8184ea230c…Free account
chisel-slice-libaprutil1t64.yaml1.7 KBa570b341afb2…Free account
docs/PROVENANCE.md2.5 KBfacf54043103…Free account
docs/REBUILD.md5.0 KB2c060532b8b5…Free account
docs/VERIFY.md1.9 KBce0cf3125561…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock60 B3ed6b23ba6bc…Public · View
docs/provenance/BUILD_RECIPE.json4.9 KB5fd94e84d860…Free account
docs/provenance/CUSTODY_INPUTS.json642 Bff6b9f37c2ed…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json210 KB144db9706fec…Free account
docs/provenance/SOURCE_TREE_HASH.json300 B8743ea97c7b8…Public · View
docs/provenance/SYSTEM_PINNING.lock789 Baf8610547f28…Free account
docs/provenance/TOOLCHAIN.lock3.7 KB1193da7b82a9…Free account
httpd-foreground353 B3c2e604ae8a3…Free account
rebuild.json1.4 KBb29662a21324…Free account
rs-probe.go3.1 KBa8bdee17a358…Free account
rs-probe.mod40 Ba480b79acf98…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View

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

Made from ReadyStack-httpd-2.4.70-CE-ubuntu24.04-r2.tar.gz (SHA-256 0e8520838ef0b551df602acd79ac502a25e41a938aac5a6305651a98b4ebb00a), the build kit published for this release, on 2026-11-09.

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:

  • Base images (OCI layouts)16 files, 315 MB
  • Vendored sources and packages5,686 files, 179 MB
  • Pinned BuildKit toolchain1 files, 106 MB
  • Handbooks, SBOM, security report and records5,607 files, 55 MB