CoreDNS v1.14.2 build recipe
The recipe ReadyStack built readystack/coredns:v1.14.2-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 27 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 27 recipe files; the build kit itself keeps its own terms.
Upstream source
Publicgithub.com/coredns/coredns (v1.14.2) at dd1df4f5db93767a44e37638df44969503b320d2
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.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af
- Base imageubuntu:24.04@sha256:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852
- BuildKitmoby/buildkit:v0.31.2
sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0 - Build method
source-rebuild-go - SOURCE_DATE_EPOCH1772772585 (2026-03-06T04:49:45Z)
- Target digest (linux/amd64)sha256:faf5d9691f306d7f318377a2db731aa843ef8ed23866e7c410cdbc001dda2c4b
- Target config digestsha256:4ad64d3f76e714057d267c146ab893eac110364c942d37a8eb7e5932adc0449c
- Checksummed kit files10,207 (CHECKSUMS.sha256)
Dockerfile Dockerfile.offline.pinned
83 lines · 6.1 KB# ===================================================================== # CoreDNS v1.14.2 L-009 HERMETIC OFFLINE BUILD: the canonical, attestation-producing build. build_kit runs # docker buildx build --builder readystack-builder-max --network=none # --attest type=provenance,mode=max,version=v1 --attest type=sbom --push <directory context> # Pinned-public-base + vendored model: golang 1.26.10 and ubuntu 24.04 pinned BY DIGEST (BASE_IMAGE_DIGESTS.lock); # vendored/coredns-src is the fully vendored Go tree (GOPROXY=off, -mod=vendor); vendored/chisel the chiselled Ubuntu # 24.04 runtime (gen_dockerfile.py's runtime_base cut); vendored/debs libcap2-bin for setcap in the rootfs stage only. # Dockerfile and Dockerfile.offline are byte copies of this file (the repo-wide convention). # # SHAPE: upstream's image (coredns/coredns Dockerfile at v1.14.2: distroless static, /coredns with # `setcap cap_net_bind_service=+ep`, USER nonroot:nonroot = 65532, WORKDIR /, ENTRYPOINT ["/coredns"]) on a chiselled Ubuntu 24.04 # runtime instead of distroless. The file capability lets the non-root user bind :53 under kubeadm v1.36.6's CoreDNS # Deployment (capabilities add NET_BIND_SERVICE, drop ALL; allowPrivilegeEscalation false; readOnlyRootFilesystem): # with no_new_privs a file capability is still honoured when the process already holds it in its permitted set, which # the runtime grants from the Pod's add list. # ===================================================================== # --- CoreDNS v1.14.2 (Makefile: CGO off, coremain.GitCommit stamp; plugin.cfg's generated zplugin.go/zdirectives.go are # committed at the tag) ------------------------------------------------------------------------------------------- FROM golang:1.26.10-bookworm@sha256:632dff7351799a5a9954a48dc06670ade72ee44e8c351cdc0e5a57af2fea21af AS build_coredns WORKDIR /coredns COPY vendored/coredns-src/ . ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off RUN mkdir -p /out && go build -trimpath -ldflags "-s -w -X github.com/coredns/coredns/coremain.GitCommit=dd1df4f" -o /out/coredns . && \
Continues: 59 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
27 files · SHA-256 of each as published here| File | Size | SHA-256 | Access |
|---|---|---|---|
| BASES.tsv | 264 B | 98233a2e2970… | Public · View |
| BUILD_OFFLINE.sh | 6.6 KB | 83299978ccd0… | Opening lines public |
| CHECKSUMS.sha256 | 1.4 MB | 0d7614bfd1d6… | Free account |
| Corefile | 431 B | 62dd601852c2… | Free account |
| DOCKERFILE_NAME.txt | 26 B | 9aadd1ede68e… | Public · View |
| Dockerfile | 6.1 KB | b7bb681339fa… | Free account |
| Dockerfile.offline | 6.1 KB | b7bb681339fa… | Free account |
| Dockerfile.offline.pinned | 6.1 KB | b7bb681339fa… | Opening lines public |
| Dockerfile.vendor | 6.2 KB | ab7aab905570… | Free account |
| MANIFEST.txt | 765 KB | 78b382195a03… | Free account |
| SOURCE_DATE_EPOCH.txt | 11 B | 9898cad9e661… | Public · View |
| TARGET_DIGEST.txt | 282 B | 6917021e0e14… | Public · View |
| VERIFY_OFFLINE.sh | 9.9 KB | 3e8184ea230c… | Free account |
| docs/PROVENANCE.md | 1.7 KB | 127bedc6cb93… | Free account |
| docs/REBUILD.md | 5.0 KB | eb0d04ab9b00… | Free account |
| docs/VERIFY.md | 1.9 KB | 27d4d0061001… | Free account |
| docs/provenance/BASE_IMAGE_DIGESTS.lock | 73 B | 660f9f9aac04… | Public · View |
| docs/provenance/BUILD_RECIPE.json | 1.5 KB | 39ff2bc7aad1… | Free account |
| docs/provenance/CUSTODY_INPUTS.json | 648 B | 016f0a69772e… | Free account |
| docs/provenance/SOURCE_FILE_MANIFEST.json | 29 KB | 84cc5f6a1462… | Free account |
| docs/provenance/SOURCE_TREE_HASH.json | 305 B | aecfaa5c3559… | Public · View |
| docs/provenance/SYSTEM_PINNING.lock | 1 B | 01ba4719c80b… | Free account |
| docs/provenance/TOOLCHAIN.lock | 3.8 KB | 1d85a04430a2… | Free account |
| rebuild.json | 1.4 KB | 6e9b50338974… | Free account |
| rs-probe.go | 3.1 KB | a8bdee17a358… | Free account |
| rs-probe.mod | 40 B | a480b79acf98… | Free account |
| toolchain/BUILDKIT_TAG.txt | 22 B | fcd530eeb02b… | Public · View |
Made from ReadyStack-coredns-v1.14.2-CE-ubuntu24.04-r1.tar.gz (SHA-256 30f4cd47c170b3c3c6b868b188cbeacf639934b677b8ca4ba798ca3d5ac49912), 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:
- Base images (OCI layouts)16 files, 311 MB
- Pinned BuildKit toolchain1 files, 106 MB
- Vendored sources and packages9,196 files, 98 MB
- Handbooks, SBOM, security report and records969 files, 3.5 MB