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 account

An 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

Public

github.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 methodsource-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
FileSizeSHA-256Access
BASES.tsv121 Babada2a5a4d6…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha2569.5 MB5c47d6055d46…Free account
Caddyfile1.4 KB41d434aaf8d7…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile8.0 KB97b17eae05c2…Free account
Dockerfile.offline8.0 KB97b17eae05c2…Free account
Dockerfile.offline.pinned8.0 KB97b17eae05c2…Opening lines public
Dockerfile.vendor27 KB260b8f94d31e…Free account
MANIFEST.txt5.6 MB915ef7e797a6…Free account
SOURCE_DATE_EPOCH.txt11 B01b5dc803a52…Public · View
TARGET_DIGEST.txt473 B45586a95a95d…Public · View
VERIFY_OFFLINE.sh7.2 KB8b036b1f9a7f…Free account
caddy-main.go392 B4da984dde760…Free account
ce-compat-patch.sh1.2 KB23fc92ad5ff8…Free account
ce-compat/__init__.py4.9 KB3eb9fbea3031…Free account
ce-compat/apps.py105 Bdd4dc999d457…Free account
ce-compat/ce.py340 Bd2a487f8cb08…Free account
ce-compat/migrations/0001_squash_2026_09_07_initial.py5.6 KB1e51c75c753e…Free account
ce-compat/migrations/0014_roles_memberships_and_resource_access.py389 Bfbdc5e7b7521…Free account
ce-compat/migrations/0026_conversation_created_at_conversation_title_and_more.py401 B7c9ed416c5dc…Free account
ce-compat/migrations/0028_alter_conversation_type.py415 B1835580758d4…Free account
ce-compat/migrations/0037_add_conversation_approval_decisions.py387 Bd61691e69d0a…Free account
ce-compat/migrations/0041_migrate_dashboards_models.py399 B3c02657dc5ff…Free account
ce-compat/migrations/0046_migrate_cdp_models.py389 Ba4b09dade571…Free account
ce-compat/migrations/0047_migrate_ai_observability_models.py382 B42240ebf954d…Free account
ce-compat/migrations/0049_migrate_posthog_ai_models.py395 B9d16a46accfb…Free account
ce-compat/migrations/0050_migrate_replay_models.py389 B9a50c67ae06b…Free account
ce-compat/migrations/0059_scimprovisioneduser_unique_config.py385 B7f0999cf8ea0…Free account
ce-compat/migrations/0061_squash_2026_09_07_finalize_fks.py1.4 KB71ae00b79af4…Free account
ce-compat/migrations/0063_scim_provisioned_user_config_set_null.py394 Bcfb91bea0b2a…Free account
ce-compat/migrations/0064_split_identity_provider_config_scopes.py401 Bc2c2d8773af2…Free account
ce-compat/migrations/__init__.py0 Be3b0c44298fc…Free account
ce-compat/settings.py3.4 KBb755d70ca855…Free account
clickhouse-init.sh273 B52972f610b36…Free account
clickhouse-keeper.xml598 Bf24873c05829…Free account
clickhouse-start.sh887 B3896bcc52dfa…Free account
docs/PROVENANCE.md1.7 KBbd5fad9c5a65…Free account
docs/REBUILD.md5.2 KB44a509e1fed6…Free account
docs/VERIFY.md2.0 KB75e0c9a2ee64…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock50 Bbe066fe4d52a…Public · View
docs/provenance/BUILD_RECIPE.json2.4 KB9a426df017e7…Free account
docs/provenance/CUSTODY_INPUTS.json697 Bb33e6f5a21e3…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json271 KBec3c98b73a1d…Free account
docs/provenance/SOURCE_TREE_HASH.json340 B823655809b5f…Public · View
docs/provenance/SYSTEM_PINNING.lock276 B559dab462199…Free account
docs/provenance/TOOLCHAIN.lock1.7 KB3ff2af560758…Free account
empty_mmdb.py2.8 KBa287fb3679b6…Free account
npm-floors.json4.5 KB6f84a4a91280…Free account
posthog-ce9.2 KB34b50c45fec3…Free account
py-floors.txt942 Bfc265bf2386e…Free account
readystack_setup.py2.9 KB4149a09ef567…Free account
rebuild.json1.2 KB483a01ddf5f5…Free account
resolve_floors.py2.4 KB8412a7f8e1d4…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…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 email

The 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