lamina

Build-Layer Catalog for the tetra-build Ecosystem

v0.1.0 | Beta | 13 Layers

Reusable Toolchain Images and Dependency Caches

Docker base images and cargo-chef pre-cooked dependency layers. Downstream CI skips toolchain setup and dep compilation entirely — only source changes trigger recompilation.

Layer Catalog

13 layers across three classes — toolchain bases, source dep caches, native dep layers.

rust toolchain

cargo, rustup, cargo-chef, sccache S3. Foundation for all Rust layers.

wasm toolchain

wasm32 target, wasm-bindgen-cli, wasm-opt. Extends rust layer.

leptos toolchain

cargo-leptos. Extends wasm layer. Base for all Leptos projects.

nickel toolchain

nickel binary built from source. Standalone debian:slim image.

nushell toolchain

nu binary built from source. Standalone debian:slim image.

ontoref dep cache

cargo-chef pre-cooked deps for ontoref. Requires stratumiops peer dep.

rustelo dep cache

cargo-chef pre-cooked deps for rustelo. Extends leptos layer.

stratumiops dep cache

cargo-chef pre-cooked deps for stratumiops. Base for stratumiops-ia.

fastembed native + dep

libonnxruntime-dev + cargo-chef deps for fastembed. ONNX-based local embedding.

secretumvault native + dep

liboqs-dev + libssl-dev + cargo-chef deps for secretumvault. Post-quantum crypto.

Consuming Layers

Toolchain Base

FROM daoreg.librecloud.online/lamina/rust:1.88 AS builder

Pre-cooked Dependencies

FROM daoreg.librecloud.online/lamina/rustelo:1.88 AS deps
COPY --from=deps /usr/local/cargo/registry .
RUN cargo build --release

Technology Stack

Docker BuildKit cargo-chef sccache S3 Nickel NCL Nushell ONNX Runtime liboqs PQC Rust 1.88

Eliminate repeated toolchain compilation

13 layers | Docker BuildKit | cargo-chef | sccache S3