Coder v2.38.3 build recipe

The recipe ReadyStack built readystack/coder:v2.38.3-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/coder/coder (v2.38.3) at 5bb296e4d5e55e7de39e0d1ab89493e205d6c4ac

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:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
  • BuildKitmoby/buildkit:v0.31.2
    sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0
  • Build methodsource-rebuild-go
  • SOURCE_DATE_EPOCH1793058723 (2026-10-26T23:52:03Z)
  • Target digest (linux/amd64)sha256:b8cc242203b258c2433715452e8cc7237baf30d5076a679611ee057f92848679
  • Target config digestsha256:4a11919f14549bcb339c10e3ef46462e6db94b3e5f1d54f141157b516d4cc25c
  • Checksummed kit files116,209 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

37 lines · 3.6 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_coder
WORKDIR /src
COPY vendored/coder-src/ .
ENV CGO_ENABLED=0 GOTOOLCHAIN=local GOWORK=off GOFLAGS="-mod=vendor -buildvcs=false" GOPROXY=off SOURCE_DATE_EPOCH=1793058723
RUN go build -trimpath -tags "embed ts_omit_aws ts_omit_bird ts_omit_tap ts_omit_kube" -ldflags='-s -w -X github.com/coder/coder/v2/buildinfo.tag=2.38.3 -X github.com/coder/coder/v2/buildinfo.agpl=true' -o /coder ./cmd/coder && /coder version
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
ENV DEBIAN_FRONTEND=noninteractive HOME=/home/coder CODER_HTTP_ADDRESS=0.0.0.0:3000 CODER_TELEMETRY_ENABLE=false
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=1793058723
RUN groupadd -r coder && useradd -r -g coder -d /home/coder -m coder && \
    mkdir -p /home/coder && chown -R coder:coder /home/coder && \
    : "${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_coder /coder /usr/local/bin/coder

Continues: 13 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.tsv264 B8d72027e2bc4…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha25619 MB626d823fdc31…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile3.6 KB9b7bf260b584…Free account
Dockerfile.offline3.6 KB9b7bf260b584…Free account
Dockerfile.offline.pinned3.6 KB9b7bf260b584…Opening lines public
Dockerfile.vendor2.4 KB0a8ebfbda0e6…Free account
MANIFEST.txt11 MBe173ab707a9f…Free account
SOURCE_DATE_EPOCH.txt11 B4a5fa943dc83…Public · View
TARGET_DIGEST.txt428 Baec9e08de466…Public · View
VERIFY_OFFLINE.sh7.9 KBdc0b5cd5c104…Free account
docs/PROVENANCE.md1.7 KB5a1a833a0cb9…Free account
docs/REBUILD.md5.0 KB8ea845086016…Free account
docs/VERIFY.md1.9 KB82cd6db2feee…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock71 B5b86187c32ea…Public · View
docs/provenance/BUILD_RECIPE.json5.6 KB4e144fc3f61d…Free account
docs/provenance/CUSTODY_INPUTS.json694 Bf9f08c236a3e…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json268 KB86698bae2cce…Free account
docs/provenance/SOURCE_TREE_HASH.json301 B6f7cb1b443db…Public · View
docs/provenance/SYSTEM_PINNING.lock47 B5d069a5705dc…Free account
docs/provenance/TOOLCHAIN.lock4.9 KBb8b2ad8a7536…Free account
rebuild.json1.5 KB52845879a4bb…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View

Made from ReadyStack-coder-v2.38.3-CE-ubuntu24.04-r2.tar.gz (SHA-256 a86759070f939bde1faac61ce267c74587a1a65de650d4c2c39f5c9f404d4af1), 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 packages92,904 files, 1.3 GB
  • Base images (OCI layouts)16 files, 311 MB
  • Handbooks, SBOM, security report and records12,390 files, 172 MB
  • Pinned BuildKit toolchain1 files, 106 MB