Woodpecker v3.19.0 build recipe

The recipe ReadyStack built readystack/woodpecker:v3.19.0-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 24 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 24 recipe files; the build kit itself keeps its own terms.

Upstream source

Public

github.com/woodpecker-ci/woodpecker (v3.19.0) at 9f5568c20a1f7195d23c4194c49d53bd2580be41

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_EPOCH1791396171 (2026-10-07T18:02:51Z)
  • Target digest (linux/amd64)sha256:836c5f9ef4f115ef243e1823f3f421891bfdccb0f6a80e6b4d3f9e6f09cbc585
  • Target config digestsha256:49bd3e2d8fa21c0f3a9690a153cd3515b9178cc6f87d5b6403f69630b5334318
  • Checksummed kit files13,897 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

36 lines · 3.1 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_woodpecker-server
WORKDIR /src
COPY vendored/woodpecker-src/ .
ENV CGO_ENABLED=1 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1791396171
RUN go build -trimpath -ldflags='-s -w -X go.woodpecker-ci.org/woodpecker/v3/version.Version=3.19.0' -o /woodpecker-server ./cmd/server && /woodpecker-server --version
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
ENV DEBIAN_FRONTEND=noninteractive WOODPECKER_HOST=http://localhost:8000 WOODPECKER_DATABASE_DRIVER=sqlite3 WOODPECKER_DATABASE_DATASOURCE=/var/lib/woodpecker/woodpecker.sqlite
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=1791396171
RUN groupadd -r woodpecker && useradd -r -g woodpecker -d /var/lib/woodpecker -m woodpecker && \
    mkdir -p /etc/woodpecker /var/lib/woodpecker && chown -R woodpecker:woodpecker /etc/woodpecker /var/lib/woodpecker && \
    : "${SOURCE_DATE_EPOCH:?SOURCE_DATE_EPOCH must be set for a reproducible build}" && \
    sed -ri "s/^([^:]*:[^:]*):[0-9]*:/\1:$((SOURCE_DATE_EPOCH/86400)):/" /etc/shadow && \
    rm -f /etc/passwd- /etc/shadow- /etc/group- /etc/gshadow-
COPY --from=build_woodpecker-server /woodpecker-server /usr/bin/woodpecker-server

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

24 files · SHA-256 of each as published here
FileSizeSHA-256Access
BASES.tsv262 B203db39d3116…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha2562.0 MBaabc5bb12aa6…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile3.1 KB09162f556c4a…Free account
Dockerfile.offline3.1 KB09162f556c4a…Free account
Dockerfile.offline.pinned3.1 KB09162f556c4a…Opening lines public
Dockerfile.vendor2.1 KB0e583cd04055…Free account
MANIFEST.txt1.1 MB392c0d658203…Free account
SOURCE_DATE_EPOCH.txt11 B5ad3224797d2…Public · View
TARGET_DIGEST.txt463 Bf658639c372a…Public · View
VERIFY_OFFLINE.sh7.2 KB8b036b1f9a7f…Free account
docs/PROVENANCE.md1.7 KB991ced11ee01…Free account
docs/REBUILD.md5.0 KB20f7cceca60b…Free account
docs/VERIFY.md1.9 KB20b3deba20d1…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock75 B5ff84f1a1b4b…Public · View
docs/provenance/BUILD_RECIPE.json1.1 KBf6f2c1d22825…Free account
docs/provenance/CUSTODY_INPUTS.json660 Bdafc2de94bf5…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json84 KB41ce2cb3327f…Free account
docs/provenance/SOURCE_TREE_HASH.json318 B4fe43b570141…Public · View
docs/provenance/SYSTEM_PINNING.lock36 B3342957f888a…Free account
docs/provenance/TOOLCHAIN.lock3.4 KB0aa6e1158d73…Free account
rebuild.json1.6 KBedd33e004f17…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View

Made from ReadyStack-woodpecker-v3.19.0-CE-ubuntu24.04-r2.tar.gz (SHA-256 e03f5180a93a2397a0b29fa9f63889bb69c71633faa4cf82a4769bccc200d222), 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
  • Vendored sources and packages12,113 files, 187 MB
  • Pinned BuildKit toolchain1 files, 106 MB
  • Handbooks, SBOM, security report and records1,745 files, 41 MB