Zabbix 7.4.16 build recipe

The recipe ReadyStack built readystack/zabbix:7.4.16-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 25 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 25 recipe files; the build kit itself keeps its own terms.

Upstream source

Public

github.com/zabbix/zabbix (7.4.16) at b90dda2ec5983a92c9671550b5e32947cf241cd2

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_EPOCH1792496804 (2026-10-20T11:46:44Z)
  • Target digest (linux/amd64)sha256:a076e237d9451ae3032a101d985d6009cc8e822ae5e7800d0f4c08442a32430a
  • Target config digestsha256:26ff9f7f843f3409d759d4d4f146033ebaf96420f503457d6e6be901cd8f4b69
  • Checksummed kit files14,213 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

58 lines · 5.7 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/zabbix-src/ .
ARG SOURCE_DATE_EPOCH=1792496804
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
ENV CFLAGS="-O2 -pipe -fPIE -fstack-protector-strong -fstack-clash-protection -D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security" LDFLAGS="-pie -Wl,-z,relro,-z,now,-z,defs -Wl,--as-needed" PERL_HASH_SEED=0 PERL_PERTURB_KEYS=0
RUN ./configure --prefix=/opt/zabbix --sysconfdir=/etc/zabbix --enable-server --enable-agent --enable-ipv6 --with-postgresql --with-openssl --with-net-snmp --with-ssh --with-ldap --with-libcurl=/usr/bin/curl-config --with-libpcre2 --with-libxml2 --with-openipmi --with-libmodbus --with-ares --with-unixodbc --silent
RUN make -j"$(nproc)" -s dbschema
RUN make -j"$(nproc)" -s
RUN make -s install
RUN rm -f /opt/zabbix/sbin/zabbix_agentd /opt/zabbix/share/man/man8/zabbix_agentd.8 && strip /opt/zabbix/sbin/zabbix_server /opt/zabbix/bin/zabbix_get /opt/zabbix/bin/zabbix_sender
RUN mkdir -p /opt/zabbix/share/zabbix/database/postgresql && cat database/postgresql/schema.sql database/postgresql/images.sql database/postgresql/data.sql | gzip -9n > /opt/zabbix/share/zabbix/database/postgresql/create.sql.gz && cp COPYING /opt/zabbix/share/zabbix/COPYING
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
ENV DEBIAN_FRONTEND=noninteractive PATH=/opt/zabbix/sbin:/opt/zabbix/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 \

Continues: 34 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

25 files · SHA-256 of each as published here
FileSizeSHA-256Access
BASES.tsv121 B0da49a3ea98f…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha2561.9 MB6ff7acf25c49…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile5.7 KB13edb9407bcc…Free account
Dockerfile.offline5.7 KB13edb9407bcc…Free account
Dockerfile.offline.pinned5.7 KB13edb9407bcc…Opening lines public
Dockerfile.vendor2.3 KB12dcc8a6900e…Free account
MANIFEST.txt966 KB55dd62905ef0…Free account
SOURCE_DATE_EPOCH.txt11 B90fc506652a6…Public · View
TARGET_DIGEST.txt476 Bd4357025141c…Public · View
VERIFY_OFFLINE.sh7.9 KBdc0b5cd5c104…Free account
docs/PROVENANCE.md1.7 KB7b3a87247d5c…Free account
docs/REBUILD.md5.0 KBef81224c8380…Free account
docs/VERIFY.md1.9 KB7ba424eb1aee…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock49 B1e09fe3fa2d7…Public · View
docs/provenance/BUILD_RECIPE.json6.0 KB81c5186a49e9…Free account
docs/provenance/CUSTODY_INPUTS.json644 B2f08f502881f…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json245 KB8463026f0b50…Free account
docs/provenance/SOURCE_TREE_HASH.json302 B3e06ed80dd86…Public · View
docs/provenance/SYSTEM_PINNING.lock281 B33bc7bc47ce9…Free account
docs/provenance/TOOLCHAIN.lock3.3 KB56af9300fcff…Free account
rebuild.json1.2 KBffab13dfaebc…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View
zabbix-entrypoint.sh2.7 KB9f2522da1c74…Free account

Made from ReadyStack-zabbix-7.4.16-CE-ubuntu24.04-r2.tar.gz (SHA-256 f4c050b74012117b34e49bc0278d84c0e8f385946444e5b546f77913b55ed65d), 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 packages7,240 files, 437 MB
  • Handbooks, SBOM, security report and records6,944 files, 309 MB
  • Pinned BuildKit toolchain1 files, 106 MB
  • Base images (OCI layouts)5 files, 28 MB