Harbor v2.15.4 build recipe
The recipe ReadyStack built readystack/harbor:v2.15.4-CE-ubuntu24.04-r4 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 32 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 32 recipe files; the build kit itself keeps its own terms.
Upstream source
Publicgithub.com/goharbor/harbor (v2.15.4) at 0a6bf30d54e779962ad5b862fc67e3e9f6b010d8
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:
- git https://github.com/goharbor/harbor v2.15.4
- git https://github.com/goharbor/distribution.git v2.8.3-harbor.2
- https://deb.nodesource.com/setup_22.x
Pinned inputs
As JSON- Base imagegolang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af
- Base imageubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
- BuildKitmoby/buildkit:v0.31.2
sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0 - Build method
source-rebuild-go - SOURCE_DATE_EPOCH1791512107 (2026-10-09T02:15:07Z)
- Target digest (linux/amd64)sha256:de9ac3f2a6d3b26febe333400f1a1200a3b00500805310187c77769ab286bcee
- Target config digestsha256:b241148b10c36ced32962283c30ddf48e667305624c05b5ff8e60619752beb63
- Checksummed kit files18,155 (CHECKSUMS.sha256)
Dockerfile Dockerfile.offline.pinned
71 lines · 6.2 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.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build_harbor_core COPY vendored/harbor-src/ /src/ WORKDIR /src/src ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1791512107 RUN go build -trimpath -ldflags='-s -w -X github.com/goharbor/harbor/src/pkg/version.GitCommit=0a6bf30d -X github.com/goharbor/harbor/src/pkg/version.ReleaseVersion=v2.15.4' -o /harbor_core ./core && /harbor_core -h FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build_harbor_jobservice COPY vendored/harbor-src/ /src/ WORKDIR /src/src ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1791512107 RUN go build -trimpath -ldflags='-s -w' -o /harbor_jobservice ./jobservice && /harbor_jobservice -h >/dev/null 2>&1; test -x /harbor_jobservice FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build_harbor_registryctl COPY vendored/harbor-src/ /src/ WORKDIR /src/src ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1791512107 RUN go build -trimpath -ldflags='-s -w' -o /harbor_registryctl ./registryctl && /harbor_registryctl -h FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build_registry COPY vendored/harbor-src/ /src/ WORKDIR /src/third_party/distribution ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1791512107 RUN go build -trimpath -tags "include_oss include_gcs" -ldflags='-s -w -X github.com/docker/distribution/version.Revision=ac7c4cedc2f4d45347630beceaaa1639bb9c771a' -o /registry ./cmd/registry && /registry --version FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c ENV DEBIAN_FRONTEND=noninteractive TZ=UTC LANG=C.UTF-8
Continues: 47 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
32 files · SHA-256 of each as published here| File | Size | SHA-256 | Access |
|---|---|---|---|
| BASES.tsv | 264 B | 8d72027e2bc4… | Public · View |
| BUILD_OFFLINE.sh | 6.6 KB | 83299978ccd0… | Opening lines public |
| CHECKSUMS.sha256 | 2.6 MB | 6f706a0f0aa1… | Free account |
| DOCKERFILE_NAME.txt | 26 B | 9aadd1ede68e… | Public · View |
| Dockerfile | 6.2 KB | cf8e836472e2… | Free account |
| Dockerfile.offline | 6.2 KB | cf8e836472e2… | Free account |
| Dockerfile.offline.pinned | 6.2 KB | cf8e836472e2… | Opening lines public |
| Dockerfile.vendor | 4.1 KB | ba6e078a7de3… | Free account |
| MANIFEST.txt | 1.4 MB | 87e0b13e9e14… | Free account |
| SOURCE_DATE_EPOCH.txt | 11 B | 79f4128e36e3… | Public · View |
| TARGET_DIGEST.txt | 442 B | 11c4173d7224… | Public · View |
| VERIFY_OFFLINE.sh | 9.9 KB | 3e8184ea230c… | Free account |
| core-app.conf | 74 B | 29c0eda6ce69… | Free account |
| docs/PROVENANCE.md | 1.7 KB | 3c384a6bf064… | Free account |
| docs/REBUILD.md | 5.0 KB | 2c36953cf69e… | Free account |
| docs/VERIFY.md | 1.9 KB | 252e14126a63… | Free account |
| docs/provenance/BASE_IMAGE_DIGESTS.lock | 72 B | 92f69da14256… | Public · View |
| docs/provenance/BUILD_RECIPE.json | 6.2 KB | 4a081a4dc2e7… | Free account |
| docs/provenance/CUSTODY_INPUTS.json | 647 B | e6903e67a082… | Free account |
| docs/provenance/SOURCE_FILE_MANIFEST.json | 192 KB | 8681f300eb87… | Free account |
| docs/provenance/SOURCE_TREE_HASH.json | 305 B | 737c5b3167cb… | Public · View |
| docs/provenance/SYSTEM_PINNING.lock | 67 B | d0b7c9e605cc… | Free account |
| docs/provenance/TOOLCHAIN.lock | 7.2 KB | 23a049267fa3… | Free account |
| harbor-entrypoint.sh | 7.0 KB | d8231c9145d1… | Free account |
| harbor-svc | 270 B | a4990721682c… | Free account |
| jobservice-config.yml | 766 B | 8f3b6b1d4624… | Free account |
| nginx.conf | 3.5 KB | e11fbaf354d4… | Free account |
| rebuild.json | 1.5 KB | 76db327db81d… | Free account |
| registry-config.yml | 1016 B | 1ca8c61d7346… | Free account |
| registryctl-config.yml | 95 B | cf61e144c9bc… | Free account |
| supervisord.conf | 1.8 KB | 517eda275d15… | Free account |
| toolchain/BUILDKIT_TAG.txt | 22 B | fcd530eeb02b… | Public · View |
Made from ReadyStack-harbor-v2.15.4-CE-ubuntu24.04-r4.tar.gz (SHA-256 960e2f6b817330062d9618580780d955df42ca7b9708f27e8f7cddeee1713b9e), 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 packages14,760 files, 344 MB
- Base images (OCI layouts)16 files, 311 MB
- Pinned BuildKit toolchain1 files, 106 MB
- Handbooks, SBOM, security report and records3,348 files, 22 MB