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 account

An 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

Public

github.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:

Pinned inputs

As JSON
  • Base imageubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
  • BuildKitmoby/buildkit:v0.31.2
    sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0
  • Build methodsource-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
FileSizeSHA-256Access
BASES.tsv121 B0da49a3ea98f…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha256486 KBd56654e6c79b…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile3.8 KB12b5097c8c9b…Free account
Dockerfile.offline3.8 KB12b5097c8c9b…Free account
Dockerfile.offline.pinned3.8 KB12b5097c8c9b…Opening lines public
Dockerfile.vendor1.7 KB81c368eaba4b…Free account
MANIFEST.txt220 KBbcd02c4fdb93…Free account
SOURCE_DATE_EPOCH.txt11 B3dab8cbca6f1…Public · View
TARGET_DIGEST.txt420 B92e98ed1c6ba…Public · View
VERIFY_OFFLINE.sh9.9 KB3e8184ea230c…Free account
docs/PROVENANCE.md1.6 KB26a86895e27d…Free account
docs/REBUILD.md5.0 KB6dfd92390ee5…Free account
docs/VERIFY.md1.9 KB7175e7cebda0…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock61 Be06ee4bc677c…Public · View
docs/provenance/BUILD_RECIPE.json3.0 KBf3f7a07998b3…Free account
docs/provenance/CUSTODY_INPUTS.json646 B19b3ebb1cf6b…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json72 KB3b3938a465e2…Free account
docs/provenance/SOURCE_TREE_HASH.json304 Bab063928927e…Public · View
docs/provenance/SYSTEM_PINNING.lock34 B2aaecd9ba90e…Free account
docs/provenance/TOOLCHAIN.lock2.0 KBda93dd93fef6…Free account
readystack-entrypoint.sh663 B5b92cf32c986…Free account
rebuild.json1.2 KBc8fd1f30b7db…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View
valkey.conf856 Bce4df660feac…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 email

The 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