memcached 1.6.45 build recipe
The recipe ReadyStack built readystack/memcached:1.6.45-CE-ubuntu24.04-r3 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 27 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 accountReadyStack 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 27 recipe files, and the build kit downloads free with it too.
Upstream source
Publicgithub.com/memcached/memcached (1.6.45) at 2d51e364799bc9698bd4b11728ea978cea12da6e
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 method
source-rebuild-c - SOURCE_DATE_EPOCH1794290163 (2026-11-10T05:56:03Z)
- Target digest (linux/amd64)sha256:a29b2054ef9bb710f02bfdd33e5f0d6206dfa05f00dea0cb773e3992923558ef
- Target config digestsha256:56d2a47142d1742e0b8ea81aba1424930ffd13905abed9c29b770c3cdfb805d9
- Checksummed kit files863 (CHECKSUMS.sha256)
Dockerfile Dockerfile.offline.pinned
74 lines · 5.2 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/memcached-src/ .
ARG SOURCE_DATE_EPOCH=1794290163
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
RUN ./configure --prefix=/opt/memcached --enable-tls
RUN make -j"$(nproc)"
RUN make install
RUN /opt/memcached/bin/memcached -V | grep -qx 'memcached 1.6.45'
RUN set -eu; find /opt/memcached -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 \
/*) echo "$lib" ;; *) [ -n "$(find /opt/memcached -name "$lib" -print -quit)" ] || echo "$lib" ;; esac; \Continues: 50 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
27 files · SHA-256 of each as published here| File | Size | SHA-256 | Access |
|---|---|---|---|
| BASES.tsv | 262 B | eb58a8062550… | Public · View |
| BUILD_OFFLINE.sh | 6.6 KB | 6633aa31b6b4… | Opening lines public |
| CHECKSUMS.sha256 | 95 KB | a31dcfb6884a… | Free account |
| DOCKERFILE_NAME.txt | 26 B | 9aadd1ede68e… | Public · View |
| Dockerfile | 5.2 KB | 574237f3e92b… | Free account |
| Dockerfile.offline | 5.2 KB | 574237f3e92b… | Free account |
| Dockerfile.offline.pinned | 5.2 KB | 574237f3e92b… | Opening lines public |
| Dockerfile.vendor | 6.1 KB | 2ef31464cd3c… | Free account |
| MANIFEST.txt | 38 KB | 9306e89111ce… | Free account |
| SOURCE_DATE_EPOCH.txt | 11 B | be7c607bf812… | Public · View |
| TARGET_DIGEST.txt | 435 B | 2f0f50869cb4… | Public · View |
| VERIFY_OFFLINE.sh | 9.9 KB | 3e8184ea230c… | Free account |
| docs/PROVENANCE.md | 2.5 KB | dbf6de8c3a2d… | Free account |
| docs/REBUILD.md | 5.0 KB | fbb0116739ab… | Free account |
| docs/VERIFY.md | 1.9 KB | 23f3267ab08d… | Free account |
| docs/provenance/BASE_IMAGE_DIGESTS.lock | 64 B | 9255886f1164… | Public · View |
| docs/provenance/BUILD_RECIPE.json | 3.0 KB | 3b1d78c9e6e9… | Free account |
| docs/provenance/CUSTODY_INPUTS.json | 653 B | aaa04f1c5fd3… | Free account |
| docs/provenance/SOURCE_FILE_MANIFEST.json | 7.5 KB | 0917312c20e5… | Free account |
| docs/provenance/SOURCE_TREE_HASH.json | 310 B | 8737a7c044d2… | Public · View |
| docs/provenance/SYSTEM_PINNING.lock | 518 B | 46a10e191a94… | Free account |
| docs/provenance/TOOLCHAIN.lock | 2.2 KB | 7a23bceaabbe… | Free account |
| readystack-entrypoint.sh | 276 B | bc7b4cf3bbcb… | Free account |
| rebuild.json | 1.5 KB | 15f3c74a9325… | Free account |
| rs-probe.go | 3.1 KB | a8bdee17a358… | Free account |
| rs-probe.mod | 40 B | a480b79acf98… | Free account |
| toolchain/BUILDKIT_TAG.txt | 22 B | fcd530eeb02b… | Public · View |
Something wrong in this recipe? Report a recipe error on the public issue tracker.
Made from ReadyStack-memcached-1.6.45-CE-ubuntu24.04-r3.tar.gz (SHA-256 79b35dcbe18d6b85d69b5b6442a4c5424a3a1e523ac3126742b64c87ebb8ea2c), the build kit published for this release, on 2026-11-10.
What the Hermetic Build Kit adds
Free with an accountThe 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 packages432 files, 114 MB
- Pinned BuildKit toolchain1 files, 106 MB
- Handbooks, SBOM, security report and records389 files, 3.7 MB