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 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 27 recipe files, and the build kit downloads free with it too.

Upstream source

Public

github.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 methodsource-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
FileSizeSHA-256Access
BASES.tsv262 Beb58a8062550…Public · View
BUILD_OFFLINE.sh6.6 KB6633aa31b6b4…Opening lines public
CHECKSUMS.sha25695 KBa31dcfb6884a…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile5.2 KB574237f3e92b…Free account
Dockerfile.offline5.2 KB574237f3e92b…Free account
Dockerfile.offline.pinned5.2 KB574237f3e92b…Opening lines public
Dockerfile.vendor6.1 KB2ef31464cd3c…Free account
MANIFEST.txt38 KB9306e89111ce…Free account
SOURCE_DATE_EPOCH.txt11 Bbe7c607bf812…Public · View
TARGET_DIGEST.txt435 B2f0f50869cb4…Public · View
VERIFY_OFFLINE.sh9.9 KB3e8184ea230c…Free account
docs/PROVENANCE.md2.5 KBdbf6de8c3a2d…Free account
docs/REBUILD.md5.0 KBfbb0116739ab…Free account
docs/VERIFY.md1.9 KB23f3267ab08d…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock64 B9255886f1164…Public · View
docs/provenance/BUILD_RECIPE.json3.0 KB3b1d78c9e6e9…Free account
docs/provenance/CUSTODY_INPUTS.json653 Baaa04f1c5fd3…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json7.5 KB0917312c20e5…Free account
docs/provenance/SOURCE_TREE_HASH.json310 B8737a7c044d2…Public · View
docs/provenance/SYSTEM_PINNING.lock518 B46a10e191a94…Free account
docs/provenance/TOOLCHAIN.lock2.2 KB7a23bceaabbe…Free account
readystack-entrypoint.sh276 Bbc7b4cf3bbcb…Free account
rebuild.json1.5 KB15f3c74a9325…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-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 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 packages432 files, 114 MB
  • Pinned BuildKit toolchain1 files, 106 MB
  • Handbooks, SBOM, security report and records389 files, 3.7 MB