Vaultwarden 1.37.4 build recipe
The recipe ReadyStack built readystack/vaultwarden:1.37.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 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 accountAn 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
Publicgithub.com/dani-garcia/vaultwarden (1.37.4) at 7c188967e7a467b19b2757bc3326f9cf3ccae327
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 imagerust:1.99.0-bookworm@sha256:114c7a4425406451c2866b6aafe69fe29b1b298832db1277d411ac73c82d04d6
- Base imageubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
- BuildKitmoby/buildkit:v0.31.2
sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0 - Build method
source-rebuild-rust - SOURCE_DATE_EPOCH1791203961 (2026-10-05T12:39:21Z)
- Target digest (linux/amd64)sha256:5a333ebba93eb24b0fd0812ca9f7fe5728b9f7b5c383fa6edc13fe217c6d323f
- Target config digestsha256:6b5dc6677ebc3abf90edcfa35756fc6255cec7e4246f427b3ee2de21d1bbc13e
- Checksummed kit files36,612 (CHECKSUMS.sha256)
Dockerfile Dockerfile.offline.pinned
55 lines · 5.2 KB# GENERATED L-009 hermetic Rust build (--network=none, SBOM+SLSA-attestation-producing).
# Pinned bases from BASE_IMAGE_DIGESTS.lock; vendored Cargo tree + web-vault + debs from Dockerfile.vendor.
# The upstream Rust toolchain (rustup's portable x86_64-unknown-linux-gnu dist) from the pinned official
# image; the build stage below is ubuntu:24.04 and links against that distro's own libraries.
FROM rust:1.99.0-bookworm@sha256:114c7a4425406451c2866b6aafe69fe29b1b298832db1277d411ac73c82d04d6 AS rusttoolchain
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c AS build_vaultwarden
# build-stage tools (strategy.build_packages) installed offline from the
# vendored deb closure — build.rs helpers like protoc live here.
RUN --mount=type=bind,source=vendored/build-debs,target=/tmp/bdebs \
set --; for f in /tmp/bdebs/*.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; }; }
COPY --from=rusttoolchain /usr/local/rustup /usr/local/rustup
COPY --from=rusttoolchain /usr/local/cargo /usr/local/cargo
WORKDIR /src
COPY vendored/vaultwarden-src/ .
ENV CARGO_NET_OFFLINE=true CARGO_HOME=/usr/local/cargo RUSTUP_TOOLCHAIN=1.99.0 RUSTUP_HOME=/usr/local/rustup PATH=/usr/local/cargo/bin:${PATH}
ENV VW_VERSION=1.37.4
ARG SOURCE_DATE_EPOCH=1791203961
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
RUN cargo build --release --offline --locked --features "sqlite" --bin vaultwarden && \
cp target/release/vaultwarden /vaultwarden && /vaultwarden --versionContinues: 31 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| File | Size | SHA-256 | Access |
|---|---|---|---|
| BASES.tsv | 258 B | a7115692efea… | Public · View |
| BUILD_OFFLINE.sh | 6.6 KB | 83299978ccd0… | Opening lines public |
| CHECKSUMS.sha256 | 5.0 MB | 1a347c9b44d5… | Free account |
| DOCKERFILE_NAME.txt | 26 B | 9aadd1ede68e… | Public · View |
| Dockerfile | 5.2 KB | 4f33cc0e31bb… | Free account |
| Dockerfile.offline | 5.2 KB | 4f33cc0e31bb… | Free account |
| Dockerfile.offline.pinned | 5.2 KB | 4f33cc0e31bb… | Opening lines public |
| Dockerfile.vendor | 2.3 KB | d71d4a3a4550… | Free account |
| MANIFEST.txt | 2.6 MB | d3e41b93c6b1… | Free account |
| SOURCE_DATE_EPOCH.txt | 11 B | 6f796b28b9aa… | Public · View |
| TARGET_DIGEST.txt | 284 B | c5a01f80e5e7… | Public · View |
| VERIFY_OFFLINE.sh | 7.2 KB | 8b036b1f9a7f… | Free account |
| docs/PROVENANCE.md | 1.9 KB | 0c48456326eb… | Free account |
| docs/REBUILD.md | 5.0 KB | 56569e4d1b6a… | Free account |
| docs/VERIFY.md | 1.9 KB | 856e6d47eb31… | Free account |
| docs/provenance/BASE_IMAGE_DIGESTS.lock | 66 B | a47a2c7a28e4… | Public · View |
| docs/provenance/BUILD_RECIPE.json Published with 4 redactions (internal host, lines 17, 18, 27, 47); the kit's own copy: 93c1361d5514… | 5.4 KB | b15959e3e44a… | Free account |
| docs/provenance/CUSTODY_INPUTS.json | 659 B | 4d53a7ed4478… | Free account |
| docs/provenance/SOURCE_FILE_MANIFEST.json | 33 KB | 979eb40ad4f5… | Free account |
| docs/provenance/SOURCE_TREE_HASH.json | 316 B | 1977f3f207ea… | Public · View |
| docs/provenance/SYSTEM_PINNING.lock | 39 B | d2f713907be0… | Free account |
| docs/provenance/TOOLCHAIN.lock | 2.3 KB | 65e484fcc1e2… | Free account |
| rebuild.json | 1.4 KB | 0593bd8ba5d3… | Free account |
| toolchain/BUILDKIT_TAG.txt | 22 B | fcd530eeb02b… | Public · View |
Made from ReadyStack-vaultwarden-1.37.4-CE-ubuntu24.04-r4.tar.gz (SHA-256 ada1d15400dd3000ff5a81b89e185d185a9b1e30b465e5c6dac566bea694698e), 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 packages35,957 files, 972 MB
- Base images (OCI layouts)14 files, 574 MB
- Pinned BuildKit toolchain1 files, 106 MB
- Handbooks, SBOM, security report and records618 files, 5.9 MB