Valkey 9.1.3 build recipe
The recipe ReadyStack built readystack/valkey:9.1.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 26 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 accountAn account is an email address, a username and a password: no card, no donation. It opens all 26 recipe files; the build kit itself keeps its own terms.
Upstream source
Publicgithub.com/valkey-io/valkey (9.1.3) at 29173b67508b2de4c0f0ed551f3b47cf19fc3ca8
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:
- git https://github.com/valkey-io/valkey 9.1.3
Pinned inputs
As JSON- Base imageubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
- BuildKitmoby/buildkit:v0.31.2
sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0 - Build method
source-rebuild-c - SOURCE_DATE_EPOCH1793052100 (2026-10-26T22:01:40Z)
- Target digest (linux/amd64)sha256:49b358637959143830713378adf5d20565f3155a8914dcae172f5bb2f52fec7e
- Target config digestsha256:d3d802133187e2ca8254014f576f8fa8be44e26d602e560a5bbfeaa56d2319ef
- Checksummed kit files3,999 (CHECKSUMS.sha256)
Dockerfile Dockerfile.offline.pinned
53 lines · 3.8 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:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c 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/valkey-src/ .
ARG SOURCE_DATE_EPOCH=1793052100
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
ENV BUILD_TLS=yes USE_FAST_FLOAT=yes
RUN make -j"$(nproc)" all BUILD_TLS=yes USE_FAST_FLOAT=yes
RUN make install PREFIX=/opt/valkey BUILD_TLS=yes
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
ENV DEBIAN_FRONTEND=noninteractive PATH=/opt/valkey/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 && \Continues: 29 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
26 files · SHA-256 of each as published here| File | Size | SHA-256 | Access |
|---|---|---|---|
| BASES.tsv | 121 B | 0da49a3ea98f… | Public · View |
| BUILD_OFFLINE.sh | 6.6 KB | 83299978ccd0… | Opening lines public |
| CHECKSUMS.sha256 | 486 KB | d56654e6c79b… | Free account |
| DOCKERFILE_NAME.txt | 26 B | 9aadd1ede68e… | Public · View |
| Dockerfile | 3.8 KB | 12b5097c8c9b… | Free account |
| Dockerfile.offline | 3.8 KB | 12b5097c8c9b… | Free account |
| Dockerfile.offline.pinned | 3.8 KB | 12b5097c8c9b… | Opening lines public |
| Dockerfile.vendor | 1.7 KB | 81c368eaba4b… | Free account |
| MANIFEST.txt | 220 KB | bcd02c4fdb93… | Free account |
| SOURCE_DATE_EPOCH.txt | 11 B | 3dab8cbca6f1… | Public · View |
| TARGET_DIGEST.txt | 420 B | 92e98ed1c6ba… | Public · View |
| VERIFY_OFFLINE.sh | 9.9 KB | 3e8184ea230c… | Free account |
| docs/PROVENANCE.md | 1.6 KB | 26a86895e27d… | Free account |
| docs/REBUILD.md | 5.0 KB | 6dfd92390ee5… | Free account |
| docs/VERIFY.md | 1.9 KB | 7175e7cebda0… | Free account |
| docs/provenance/BASE_IMAGE_DIGESTS.lock | 61 B | e06ee4bc677c… | Public · View |
| docs/provenance/BUILD_RECIPE.json | 3.0 KB | f3f7a07998b3… | Free account |
| docs/provenance/CUSTODY_INPUTS.json | 646 B | 19b3ebb1cf6b… | Free account |
| docs/provenance/SOURCE_FILE_MANIFEST.json | 72 KB | 3b3938a465e2… | Free account |
| docs/provenance/SOURCE_TREE_HASH.json | 304 B | ab063928927e… | Public · View |
| docs/provenance/SYSTEM_PINNING.lock | 34 B | 2aaecd9ba90e… | Free account |
| docs/provenance/TOOLCHAIN.lock | 2.0 KB | da93dd93fef6… | Free account |
| readystack-entrypoint.sh | 663 B | 5b92cf32c986… | Free account |
| rebuild.json | 1.2 KB | c8fd1f30b7db… | Free account |
| toolchain/BUILDKIT_TAG.txt | 22 B | fcd530eeb02b… | Public · View |
| valkey.conf | 856 B | ce4df660feac… | Free account |
Made from ReadyStack-valkey-9.1.3-CE-ubuntu24.04-r1.tar.gz (SHA-256 e4b204cd2cda78434851457176d9e3395d36cc4f9c9ab200796f88bc269f6a62), the build kit on sale for this release, on 2026-10-29.
What the Hermetic Build Kit adds
Free with a verified emailThe 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 packages1,991 files, 100 MB
- Base images (OCI layouts)5 files, 28 MB
- Handbooks, SBOM, security report and records1,978 files, 22 MB