Qdrant v1.20.0 build recipe

The recipe ReadyStack built readystack/qdrant:v1.20.0-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 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/qdrant/qdrant (v1.20.0) at 222b2e44ab1c3f17e8246396ead6558e45041df7

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.98.1-bookworm@sha256:93ce27a88655056a51dbdd8f5f2d7ddc071c7b0070fb288a37b5a285fc83971e
  • Base imageubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
  • BuildKitmoby/buildkit:v0.31.2
    sha256:e0e67ea9c4bb07bdef683e29f70f3b623d1eb9c82274a9ec04e6bb0511449fb0
  • Build methodsource-rebuild-rust
  • SOURCE_DATE_EPOCH1792604709 (2026-10-21T17:45:09Z)
  • Target digest (linux/amd64)sha256:11453dc65b02207448d3caad2c61880302e69b7fc2b72e87dc361d6076ab7bbc
  • Target config digestsha256:e8173cf7f0e81ea528b19b13473455317ab11d395e1a453cad66af8c43b13aa3
  • Checksummed kit files55,578 (CHECKSUMS.sha256)

Dockerfile Dockerfile.offline.pinned

51 lines · 4.4 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.
FROM rust:1.98.1-bookworm@sha256:93ce27a88655056a51dbdd8f5f2d7ddc071c7b0070fb288a37b5a285fc83971e AS build_qdrant
# 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; }; }
WORKDIR /src
COPY vendored/qdrant-src/ .
ENV CARGO_NET_OFFLINE=true CARGO_HOME=/usr/local/cargo RUSTUP_TOOLCHAIN=1.98.1
ARG SOURCE_DATE_EPOCH=1792604709
ENV SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}
RUN cargo build --release --offline --locked --bin qdrant && \
    cp target/release/qdrant /qdrant && /qdrant --version
FROM ubuntu:24.04@sha256:24737cef17f4e22b1977df7d9a05e77c4e28b7da5b8911f8d8ccda136bf3573c
ENV DEBIAN_FRONTEND=noninteractive QDRANT__SERVICE__HOST=0.0.0.0 QDRANT__SERVICE__HTTP_PORT=6333 QDRANT__SERVICE__GRPC_PORT=6334 QDRANT__STORAGE__STORAGE_PATH=/qdrant/storage QDRANT__STORAGE__SNAPSHOTS_PATH=/qdrant/snapshots QDRANT__TELEMETRY_DISABLED=true RUN_MODE=production
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); \

Continues: 27 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.tsv258 B8cf1877037fa…Public · View
BUILD_OFFLINE.sh6.6 KB83299978ccd0…Opening lines public
CHECKSUMS.sha2567.4 MB2a7154fa292a…Free account
DOCKERFILE_NAME.txt26 B9aadd1ede68e…Public · View
Dockerfile4.4 KBb312f836ad2f…Free account
Dockerfile.offline4.4 KBb312f836ad2f…Free account
Dockerfile.offline.pinned4.4 KBb312f836ad2f…Opening lines public
Dockerfile.vendor2.2 KB1acff69196f4…Free account
MANIFEST.txt3.8 MBb516465542ad…Free account
SOURCE_DATE_EPOCH.txt11 Bb2c6634d7643…Public · View
TARGET_DIGEST.txt282 Ba8ff9912be83…Public · View
VERIFY_OFFLINE.sh9.9 KB3e8184ea230c…Free account
docs/PROVENANCE.md1.9 KB106c2b4156b2…Free account
docs/REBUILD.md5.0 KBa22e098fde9d…Free account
docs/VERIFY.md1.9 KBb46c55a7fdec…Free account
docs/provenance/BASE_IMAGE_DIGESTS.lock69 B2a9c0fbe46a1…Public · View
docs/provenance/BUILD_RECIPE.json2.6 KB0e78afd96c66…Free account
docs/provenance/CUSTODY_INPUTS.json645 B41ecda2aa972…Free account
docs/provenance/SOURCE_FILE_MANIFEST.json135 KBf775435921d1…Free account
docs/provenance/SOURCE_TREE_HASH.json303 B40e1037f0c8e…Public · View
docs/provenance/SYSTEM_PINNING.lock28 Bfa091140511e…Free account
docs/provenance/TOOLCHAIN.lock2.0 KB33f11dc153dd…Free account
rebuild.json1.4 KBd32934bf6c76…Free account
toolchain/BUILDKIT_TAG.txt22 Bfcd530eeb02b…Public · View

Made from ReadyStack-qdrant-v1.20.0-CE-ubuntu24.04-r1.tar.gz (SHA-256 ce262cc0713342fe319b3e1c1e5c6090f25c7da059756503120b863ac48c39c0), 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 packages52,934 files, 1.3 GB
  • Base images (OCI layouts)14 files, 565 MB
  • Pinned BuildKit toolchain1 files, 106 MB
  • Handbooks, SBOM, security report and records2,607 files, 40 MB