Percona 9.7.2-2 build recipe

The recipe ReadyStack built readystack/percona:9.7.2-2-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/percona/percona-server (Percona-Server-9.7.2-2) at 91438a0430fbcd52dd85472edf3b357484484c22

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:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852
  • BuildKitmoby/buildkit:v0.31.2
    sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0
  • Build methodsource-rebuild-c
  • SOURCE_DATE_EPOCH1794391143 (2026-11-11T09:59:03Z)
  • Target digest (linux/amd64)sha256:71ebc1aa54ad848b0ef5c625572e7ef6f37d2d617a314773d407479bdcbe73f2
  • Target config digestsha256:277bba6678666ddd49761cceb27f4a73448c0f460ad8602a1183417c83bc6555
  • Checksummed kit files129,371 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

52 lines · 5.1 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/percona-src/ .
ARG SOURCE_DATE_EPOCH=1794391143
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
ENV DEB_BUILD_MAINT_OPTIONS=optimize=-lto
RUN cmake -S . -B build -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DINSTALL_LAYOUT=STANDALONE -DREPRODUCIBLE_BUILD=ON '-DCOMPILATION_COMMENT=ReadyStack build of Percona Server (GPL)' '-DCOMPILATION_COMMENT_SERVER=ReadyStack build of Percona Server (GPL)' -DWITH_SSL=system -DWITH_ZLIB=system -DWITH_ZSTD=system -DWITH_LZ4=system -DWITH_ICU=system -DWITH_PROTOBUF=bundled -DWITH_EDITLINE=bundled -DWITH_TIRPC=bundled -DWITH_CURL=system -DWITH_FIDO=none -DWITH_AUTHENTICATION_LDAP=OFF -DWITH_AUTHENTICATION_KERBEROS=OFF -DWITH_AUTHENTICATION_WEBAUTHN=OFF -DWITH_AUTHENTICATION_CLIENT_PLUGINS=OFF -DWITH_ROUTER=OFF -DWITH_UNIT_TESTS=OFF -DWITH_ROCKSDB=ON -DROCKSDB_DISABLE_AVX2=1 -DROCKSDB_DISABLE_MARCH_NATIVE=1 -DWITH_PAM=ON -DWITH_PERCONA_TELEMETRY=OFF -DWITH_JS_LANG=OFF -DWITH_NDB=OFF -DWITHOUT_NDBCLUSTER_STORAGE_ENGINE=ON -DWITH_SYSTEMD=OFF -DWITH_NUMA=OFF -DWITHOUT_THREAD_POOL=1 -DINSTALL_MYSQLTESTDIR= -DINSTALL_STATIC_LIBRARIES=OFF
RUN J=$(nproc); M=$(awk '/MemAvailable/ {print int($2/2097152)}' /proc/meminfo); [ "$M" -ge 1 ] || M=1; [ "$M" -lt "$J" ] && J=$M; echo "compiling with $J parallel jobs"; cmake --build build --parallel "$J"
RUN cmake --install build --strip
RUN cmake --install build --component Test --prefix /tmp/test-component && (cd /tmp/test-component && find . \( -type f -o -type l \) -print0) | (cd /usr/local/mysql && xargs -0 -r rm -f) && rm -rf /tmp/test-component
RUN rm -f /usr/local/mysql/docs/INFO_BIN /usr/local/mysql/docs/INFO_SRC
FROM ubuntu:24.04@sha256:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852
ENV DEBIAN_FRONTEND=noninteractive PATH=/usr/local/mysql/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8
RUN --mount=type=bind,source=vendored/debs,target=/tmp/debs \
    set --; for f in /tmp/debs/*.deb; do [ -e "$f" ] && set -- "$@" "$f"; done; \

Continues: 28 more lines. Create a free account to read the rest, or sign in.

Build script BUILD_OFFLINE.sh

162 lines · 8.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.
#   ./BUILD_OFFLINE.sh --restore-modes   only put back file modes your unpacking changed (see below), then exit
#
# File modes are build input: COPY carries them into the image. `tar -xzf` without -p, as a non-root user, applies
# your umask to every file (664 becomes 644 under umask 022). FILE_MODES.tsv records every file's and directory's
# mode as packed, and every run of this script first puts back any that differ.
# =============================================================================
set -euo pipefail

Continues: 138 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.tsv121 B63822800fc2b…Public · View
BUILD_OFFLINE.sh8.6 KB6ab4f08a6ec7…Opening lines public
CHECKSUMS.sha25619 MB50464f13bd2e…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile5.1 KB7a9a37d2e1af…Free account
Dockerfile.offline5.1 KB7a9a37d2e1af…Free account
Dockerfile.offline.pinned5.1 KB7a9a37d2e1af…Opening lines public
Dockerfile.vendor2.4 KBc34d571716af…Free account
FILE_MODES.tsv12 MBca065ba0fed4…Free account
MANIFEST.txt10 MB967fcec03221…Free account
README.md3.2 KBef9a6f0e868d…Free account
SOURCE_DATE_EPOCH.txt11 Bf50dcb3dc004…Public · View
TARGET_DIGEST.txt410 B7b60c6c4ead6…Public · View
VERIFY_OFFLINE.sh9.9 KB3e8184ea230c…Free account
docker-entrypoint.sh5.6 KB980a745f33b3…Free account
docs/PROVENANCE.md2.5 KB24b2cd644e24…Free account
docs/REBUILD.md6.0 KB741d2da4d53b…Free account
docs/VERIFY.md2.0 KBd3d5feb8dc08…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock62 B87aa38de2466…Public · View
docs/provenance/BUILD_RECIPE.json5.6 KBd6679134a73a…Free account
docs/provenance/CUSTODY_INPUTS.json670 B807bcb9398df…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json352 KB2b3a4bb181f4…Free account
docs/provenance/SOURCE_TREE_HASH.json329 B9c979aa46091…Public · View
docs/provenance/SYSTEM_PINNING.lock117 B5fdde4d1366a…Free account
docs/provenance/TOOLCHAIN.lock5.2 KBf0b82a3fa7df…Free account
my.cnf424 B581487191f20…Free account
rebuild.json1.3 KB14fb2e50921d…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-percona-9.7.2-2-CE-ubuntu24.04-r2.tar.gz (SHA-256 b096bf6ab54959ea6afc875a6ff30c92cfcc4ed433a69d57c1573d9612c7d41f), the build kit published for this release, on 2026-11-12.

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:

  • Vendored sources and packages65,894 files, 1.3 GB
  • Handbooks, SBOM, security report and records63,445 files, 1.1 GB
  • Pinned BuildKit toolchain1 files, 106 MB
  • Base images (OCI layouts)5 files, 28 MB