PostHog master-20261022-b904ac8 build recipe
The recipe ReadyStack built readystack/posthog:master-20261022-b904ac8-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 55 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 55 recipe files; the build kit itself keeps its own terms.
Upstream source
Publicgithub.com/PostHog/posthog (b904ac8008e531c8aaeaf58e523cf97cff9fba41) at b904ac8008e531c8aaeaf58e523cf97cff9fba41
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:68ee22004a9109b44973313b02ff7b1de250f1de0f5ecb628d73f579aaff33ac
- BuildKitmoby/buildkit:v0.31.2
sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0 - Build method
source-rebuild-python - SOURCE_DATE_EPOCH1792630321 (2026-10-22T00:52:01Z)
- Target digest (linux/amd64)sha256:e5edff2d616054b702512e27673c159243f51576ab0275d8650d0ad1e37a3f58
- Target config digestsha256:6d378b5c136639f631e7337412e96df9bcf5bf4ecd4c648051bddef13d7ac63e
- Checksummed kit files60,081 (CHECKSUMS.sha256)
Dockerfile Dockerfile.offline.pinned
65 lines · 8.0 KB# =====================================================================
# PostHog (MIT; Enterprise ee/ removed) -- HERMETIC OFFLINE BUILD (docker build --network=none).
# Reassembles the filesystem Dockerfile.vendor built from upstream's source (vendored/posthog-src/*.tar.gz)
# onto the digest-pinned ubuntu:24.04, with CPython 3.14.9 compiled here, offline, from python.org's tarball
# (sha256 re-checked) and the vendored build debs -- the same command the vendor stage ran.
# =====================================================================
FROM ubuntu:24.04@sha256:68ee22004a9109b44973313b02ff7b1de250f1de0f5ecb628d73f579aaff33ac AS cpython
ARG SOURCE_DATE_EPOCH=1792630321
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
COPY vendored/posthog-src/python/debs/ /tmp/cpython-debs/
COPY vendored/posthog-src/python/Python-3.14.9.tar.xz /tmp/Python-3.14.9.tar.xz
RUN set --; for f in /tmp/cpython-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 && \
{ [ -z "$bad" ] || { echo "vendored debs not installed at their vendored version:$bad" >&2; false; }; } && \
: "${SOURCE_DATE_EPOCH:?the CPython build needs SOURCE_DATE_EPOCH}" && \
echo "e02d9ac21cebda6e46435369744a92c65cc7cd8669697694122cf97ffacd1e53 /tmp/Python-3.14.9.tar.xz" | sha256sum -c - && \
mkdir -p /usr/src/python && tar -xJf /tmp/Python-3.14.9.tar.xz -C /usr/src/python --strip-components=1 --no-same-owner && \
rm -rf /tmp/cpython-debs /tmp/Python-3.14.9.tar.xz && cd /usr/src/python && \
export DEB_BUILD_MAINT_OPTIONS=optimize=-lto && \
PYCF="$(dpkg-buildflags --get CFLAGS) $(dpkg-buildflags --get CPPFLAGS)" && PYLD="$(dpkg-buildflags --get LDFLAGS)" && \
./configure --build=x86_64-linux-gnu --prefix=/usr/local --enable-shared --enable-loadable-sqlite-extensions --enable-option-checking=fatal --disable-test-modules --without-static-libpython --with-ensurepip=install --with-system-expat --without-system-libmpdec --with-dbmliborder= py_cv_module__dbm=n/a py_cv_module__gdbm=n/a py_cv_module__tkinter=n/a && \
make -j"$(nproc)" "EXTRA_CFLAGS=$PYCF" "LDFLAGS=$PYLD,--strip-all" && \Continues: 41 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
55 files · SHA-256 of each as published here| File | Size | SHA-256 | Access |
|---|---|---|---|
| BASES.tsv | 121 B | abada2a5a4d6… | Public · View |
| BUILD_OFFLINE.sh | 6.6 KB | 83299978ccd0… | Opening lines public |
| CHECKSUMS.sha256 | 9.5 MB | 5c47d6055d46… | Free account |
| Caddyfile | 1.4 KB | 41d434aaf8d7… | Free account |
| DOCKERFILE_NAME.txt | 26 B | 9aadd1ede68e… | Public · View |
| Dockerfile | 8.0 KB | 97b17eae05c2… | Free account |
| Dockerfile.offline | 8.0 KB | 97b17eae05c2… | Free account |
| Dockerfile.offline.pinned | 8.0 KB | 97b17eae05c2… | Opening lines public |
| Dockerfile.vendor | 27 KB | 260b8f94d31e… | Free account |
| MANIFEST.txt | 5.6 MB | 915ef7e797a6… | Free account |
| SOURCE_DATE_EPOCH.txt | 11 B | 01b5dc803a52… | Public · View |
| TARGET_DIGEST.txt | 473 B | 45586a95a95d… | Public · View |
| VERIFY_OFFLINE.sh | 7.2 KB | 8b036b1f9a7f… | Free account |
| caddy-main.go | 392 B | 4da984dde760… | Free account |
| ce-compat-patch.sh | 1.2 KB | 23fc92ad5ff8… | Free account |
| ce-compat/__init__.py | 4.9 KB | 3eb9fbea3031… | Free account |
| ce-compat/apps.py | 105 B | dd4dc999d457… | Free account |
| ce-compat/ce.py | 340 B | d2a487f8cb08… | Free account |
| ce-compat/migrations/0001_squash_2026_09_07_initial.py | 5.6 KB | 1e51c75c753e… | Free account |
| ce-compat/migrations/0014_roles_memberships_and_resource_access.py | 389 B | fbdc5e7b7521… | Free account |
| ce-compat/migrations/0026_conversation_created_at_conversation_title_and_more.py | 401 B | 7c9ed416c5dc… | Free account |
| ce-compat/migrations/0028_alter_conversation_type.py | 415 B | 1835580758d4… | Free account |
| ce-compat/migrations/0037_add_conversation_approval_decisions.py | 387 B | d61691e69d0a… | Free account |
| ce-compat/migrations/0041_migrate_dashboards_models.py | 399 B | 3c02657dc5ff… | Free account |
| ce-compat/migrations/0046_migrate_cdp_models.py | 389 B | a4b09dade571… | Free account |
| ce-compat/migrations/0047_migrate_ai_observability_models.py | 382 B | 42240ebf954d… | Free account |
| ce-compat/migrations/0049_migrate_posthog_ai_models.py | 395 B | 9d16a46accfb… | Free account |
| ce-compat/migrations/0050_migrate_replay_models.py | 389 B | 9a50c67ae06b… | Free account |
| ce-compat/migrations/0059_scimprovisioneduser_unique_config.py | 385 B | 7f0999cf8ea0… | Free account |
| ce-compat/migrations/0061_squash_2026_09_07_finalize_fks.py | 1.4 KB | 71ae00b79af4… | Free account |
| ce-compat/migrations/0063_scim_provisioned_user_config_set_null.py | 394 B | cfb91bea0b2a… | Free account |
| ce-compat/migrations/0064_split_identity_provider_config_scopes.py | 401 B | c2c2d8773af2… | Free account |
| ce-compat/migrations/__init__.py | 0 B | e3b0c44298fc… | Free account |
| ce-compat/settings.py | 3.4 KB | b755d70ca855… | Free account |
| clickhouse-init.sh | 273 B | 52972f610b36… | Free account |
| clickhouse-keeper.xml | 598 B | f24873c05829… | Free account |
| clickhouse-start.sh | 887 B | 3896bcc52dfa… | Free account |
| docs/PROVENANCE.md | 1.7 KB | bd5fad9c5a65… | Free account |
| docs/REBUILD.md | 5.2 KB | 44a509e1fed6… | Free account |
| docs/VERIFY.md | 2.0 KB | 75e0c9a2ee64… | Free account |
| docs/provenance/BASE_IMAGE_DIGESTS.lock | 50 B | be066fe4d52a… | Public · View |
| docs/provenance/BUILD_RECIPE.json | 2.4 KB | 9a426df017e7… | Free account |
| docs/provenance/CUSTODY_INPUTS.json | 697 B | b33e6f5a21e3… | Free account |
| docs/provenance/SOURCE_FILE_MANIFEST.json | 271 KB | ec3c98b73a1d… | Free account |
| docs/provenance/SOURCE_TREE_HASH.json | 340 B | 823655809b5f… | Public · View |
| docs/provenance/SYSTEM_PINNING.lock | 276 B | 559dab462199… | Free account |
| docs/provenance/TOOLCHAIN.lock | 1.7 KB | 3ff2af560758… | Free account |
| empty_mmdb.py | 2.8 KB | a287fb3679b6… | Free account |
| npm-floors.json | 4.5 KB | 6f84a4a91280… | Free account |
| posthog-ce | 9.2 KB | 34b50c45fec3… | Free account |
| py-floors.txt | 942 B | fc265bf2386e… | Free account |
| readystack_setup.py | 2.9 KB | 4149a09ef567… | Free account |
| rebuild.json | 1.2 KB | 483a01ddf5f5… | Free account |
| resolve_floors.py | 2.4 KB | 8412a7f8e1d4… | Free account |
| toolchain/BUILDKIT_TAG.txt | 22 B | fcd530eeb02b… | Public · View |
Made from ReadyStack-posthog-master-20261022-b904ac8-CE-ubuntu24.04-r1.tar.gz (SHA-256 1ba35f999b94cd0bdf69f1f69daefdbe0101dbddbc321321071b4f967adb23e6), 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:
- Vendored sources and packages83 files, 2.5 GB
- Handbooks, SBOM, security report and records59,939 files, 763 MB
- Pinned BuildKit toolchain1 files, 106 MB
- Base images (OCI layouts)5 files, 28 MB