MariaDB 12.3.3 build recipe

The recipe ReadyStack built readystack/mariadb:12.3.3-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 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/MariaDB/server (mariadb-12.3.3) at 83e909fc2a0dbc394b4b683fb3fa2d7dcf26cc5e

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_EPOCH1787207273 (2026-08-20T06:27:53Z)
  • Target digest (linux/amd64)sha256:43d9277dd92c2000c5320f99122830a9edc04334686c5c6acfd2ea601be21ea6
  • Target config digestsha256:bb3826cf26747a0f242d64e78822595cd271cc2aa7ffa15db263326d5af14941
  • Checksummed kit files54,532 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

50 lines · 5.6 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/mariadb-src/ .
ARG SOURCE_DATE_EPOCH=1787207273
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
RUN cmake -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr/local/mariadb -DINSTALL_LAYOUT=STANDALONE '-DCOMPILATION_COMMENT=ReadyStack build of MariaDB Server' -DSOURCE_REVISION=83e909fc2a0dbc394b4b683fb3fa2d7dcf26cc5e -DUPDATE_SUBMODULES=OFF -DWITH_SSL=system -DWITH_ZLIB=system -DWITH_PCRE=system -DWITH_LIBFMT=system -DWITH_LIBAIO=ON -DWITH_URING=OFF -DWITH_JEMALLOC=no -DWITH_NUMA=OFF -DWITH_SYSTEMD=no -DWITH_WSREP=OFF -DWITH_UNIT_TESTS=OFF -DWITH_EMBEDDED_SERVER=OFF -DWITH_SBOM=OFF -DINSTALL_MYSQLTESTDIR= -DINSTALL_SQLBENCHDIR= -DPLUGIN_AUTH_SOCKET=STATIC -DPLUGIN_ROCKSDB=NO -DPLUGIN_COLUMNSTORE=NO -DPLUGIN_DUCKDB=NO -DPLUGIN_S3=NO -DPLUGIN_MROONGA=NO -DPLUGIN_SPIDER=NO -DPLUGIN_CONNECT=NO -DPLUGIN_OQGRAPH=NO -DPLUGIN_SPHINX=NO -DPLUGIN_VIDEX=NO -DPLUGIN_AUTH_PAM=NO -DPLUGIN_AUTH_PAM_V1=NO -DPLUGIN_AUTH_GSSAPI=NO -DPLUGIN_AUTH_GSSAPI_CLIENT=NO -DPLUGIN_HASHICORP_KEY_MANAGEMENT=NO -DPLUGIN_AWS_KEY_MANAGEMENT=NO -DPLUGIN_CRACKLIB_PASSWORD_CHECK=NO -DPLUGIN_PROVIDER_BZIP2=NO -DPLUGIN_PROVIDER_LZMA=NO -DPLUGIN_PROVIDER_LZO=NO -DPLUGIN_PROVIDER_SNAPPY=NO -DPLUGIN_PROVIDER_LZ4=NO -DPLUGIN_HANDLERSOCKET=NO -DPLUGIN_AUDIT_NULL=NO -DPLUGIN_AUTH_0X0100=NO -DPLUGIN_AUTH_TEST_PLUGIN=NO -DPLUGIN_DAEMON_EXAMPLE=NO -DPLUGIN_DEBUG_KEY_MANAGEMENT=NO -DPLUGIN_DIALOG_EXAMPLES=NO -DPLUGIN_EXAMPLE=NO -DPLUGIN_EXAMPLE_KEY_MANAGEMENT=NO -DPLUGIN_FTEXAMPLE=NO -DPLUGIN_FUNC_TEST=NO -DPLUGIN_QA_AUTH_CLIENT=NO -DPLUGIN_QA_AUTH_INTERFACE=NO -DPLUGIN_QA_AUTH_SERVER=NO -DPLUGIN_TEST_SQL_DISCOVERY=NO -DPLUGIN_TEST_SQL_SERVICE=NO -DPLUGIN_TEST_VERSIONING=NO -DPLUGIN_TYPE_TEST=NO
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/mariadb && xargs -0 -r rm -f) && rm -rf /tmp/test-component
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
ENV DEBIAN_FRONTEND=noninteractive PATH=/usr/local/mariadb/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; \
    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); \

Continues: 26 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.sha2567.6 MB190bfdbdeb01…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile5.6 KB60304d573d16…Free account
Dockerfile.offline5.6 KB60304d573d16…Free account
Dockerfile.offline.pinned5.6 KB60304d573d16…Opening lines public
Dockerfile.vendor1.9 KBdad28bfa5059…Free account
MANIFEST.txt4.0 MB2591c6082956…Free account
SOURCE_DATE_EPOCH.txt11 B16b67b54dbfa…Public · View
TARGET_DIGEST.txt437 B830c336b8130…Public · View
VERIFY_OFFLINE.sh7.2 KB8b036b1f9a7f…Free account
docker-entrypoint.sh6.7 KB27551e1831a5…Free account
docs/PROVENANCE.md1.7 KB1a496b4154a6…Free account
docs/REBUILD.md5.0 KBca6efc3ae2db…Free account
docs/VERIFY.md1.9 KB78488ce360a2…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock62 Bf6646a1368d0…Public · View
docs/provenance/BUILD_RECIPE.json4.7 KBdb84ae04f647…Free account
docs/provenance/CUSTODY_INPUTS.json654 B43a262a03a6b…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json218 KBe2192bbacd64…Free account
docs/provenance/SOURCE_TREE_HASH.json313 B0c1402e355e4…Public · View
docs/provenance/SYSTEM_PINNING.lock80 B20c318f16cfd…Free account
docs/provenance/TOOLCHAIN.lock4.6 KB5a66f2308253…Free account
my.cnf453 B4b9cf39d6084…Free account
rebuild.json1.3 KB843d597ee613…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View

Made from ReadyStack-mariadb-12.3.3-CE-ubuntu24.04-r3.tar.gz (SHA-256 eef07ef40b1b2a0b90447d60c3c94f26e939ee18ce758f5e76b4f0d564266cbe), 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:

  • Vendored sources and packages27,521 files, 431 MB
  • Handbooks, SBOM, security report and records26,981 files, 320 MB
  • Pinned BuildKit toolchain1 files, 106 MB
  • Base images (OCI layouts)5 files, 28 MB