Tempo v3.1.1 build recipe

The recipe ReadyStack built readystack/tempo:v3.1.1-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/grafana/tempo (v3.1.1) at 9db7df79d2af105a90d96484e6403e1fda0d011e

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 imagegolang:1.27.3-bookworm@sha256:972b4110ba0f47539a975c31e52c64765e1ff19f2d74469ae4a595c6676e80a5
  • Base imageubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
  • BuildKitmoby/buildkit:v0.31.2
    sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0
  • Build methodsource-rebuild-go
  • SOURCE_DATE_EPOCH1792596276 (2026-10-21T15:24:36Z)
  • Target digest (linux/amd64)sha256:5cbee4bfcb2be7903ebc5fde62e556cb7a4733c3d4b091f2ab2f6ca08893f54f
  • Target config digestsha256:1c7592cb2f4c0d6ed9bd61e5593a070d516fc5a0b074e12edbd011730c2ac8b7
  • Checksummed kit files31,591 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

43 lines · 3.7 KB
# GENERATED L-009 hermetic build (--network=none, SBOM+SLSA-attestation-producing).
# Pinned bases from BASE_IMAGE_DIGESTS.lock; vendored Go tree + debs from Dockerfile.vendor.
FROM golang:1.27.3-bookworm@sha256:972b4110ba0f47539a975c31e52c64765e1ff19f2d74469ae4a595c6676e80a5 AS build_tempo
WORKDIR /src
COPY vendored/tempo-src/ .
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1792596276
RUN go build -trimpath -tags "netgo" -ldflags='-s -w -X main.Version=3.1.1 -X main.Branch=HEAD -X main.Revision=9db7df79' -o /tempo ./cmd/tempo && /tempo -version
FROM golang:1.27.3-bookworm@sha256:972b4110ba0f47539a975c31e52c64765e1ff19f2d74469ae4a595c6676e80a5 AS build_tempo-cli
WORKDIR /src
COPY vendored/tempo-src/ .
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1792596276
RUN go build -trimpath -tags "netgo" -ldflags='-s -w' -o /tempo-cli ./cmd/tempo-cli && /tempo-cli --help
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
ENV DEBIAN_FRONTEND=noninteractive
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); \
      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; }; } && \
    rm -rf /var/lib/apt/lists/* \
           /var/log/dpkg.log /var/log/alternatives.log /var/log/apt /var/cache/ldconfig/aux-cache /var/cache/fontconfig
ARG SOURCE_DATE_EPOCH=1792596276
RUN groupadd -r tempo && useradd -r -g tempo -d /var/tempo -m tempo && \

Continues: 19 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.tsv262 B203db39d3116…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha2564.7 MBd481ed078e5d…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile3.7 KBd4147035ae22…Free account
Dockerfile.offline3.7 KBd4147035ae22…Free account
Dockerfile.offline.pinned3.7 KBd4147035ae22…Opening lines public
Dockerfile.vendor1.3 KB3d104d2d25c8…Free account
MANIFEST.txt2.7 MB6492c1c2890a…Free account
SOURCE_DATE_EPOCH.txt11 B3bd37d752a56…Public · View
TARGET_DIGEST.txt278 Bdff92ef933f2…Public · View
VERIFY_OFFLINE.sh7.2 KB8b036b1f9a7f…Free account
docs/PROVENANCE.md1.6 KB84930034a9dc…Free account
docs/REBUILD.md5.0 KB0119ddd00696…Free account
docs/VERIFY.md1.9 KBb6ebd4828c7e…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock70 B13eb87731026…Public · View
docs/provenance/BUILD_RECIPE.json4.0 KBe13b37740590…Free account
docs/provenance/CUSTODY_INPUTS.json643 B585b6112ab17…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json391 KB05deabc29605…Free account
docs/provenance/SOURCE_TREE_HASH.json302 Bb9ffa483bfb9…Public · View
docs/provenance/SYSTEM_PINNING.lock28 Bfa091140511e…Free account
docs/provenance/TOOLCHAIN.lock2.3 KBb17b344be0e6…Free account
rebuild.json1.4 KB287f72de722c…Free account
tempo-config.yaml2.4 KBb6fb2f53b954…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View

Made from ReadyStack-tempo-v3.1.1-CE-ubuntu24.04-r2.tar.gz (SHA-256 6a4a07a5522280d988f66bd830c0f12343510161716b8299e6d4867dafb4ba72), 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:

  • Base images (OCI layouts)16 files, 315 MB
  • Handbooks, SBOM, security report and records15,792 files, 165 MB
  • Vendored sources and packages15,759 files, 164 MB
  • Pinned BuildKit toolchain1 files, 106 MB