Catalog Not Runtime
lamina produces build artifacts only. Runtime images live in solera.
Toolchain layers and pre-cooked dependency caches for the lian ecosystem.
Downstream projects reference lamina layers as FROM bases or --build-context sources, eliminating repeated toolchain setup and dependency compilation on every CI run. Each layer is a single-artifact build_directives.ncl consumed by lian-build.
The invariant set the rest of the catalog rests on.
lamina produces build artifacts only. Runtime images live in solera.
rust/ changes, which layers must rebuild?\") is answerable without parsing Dockerfiles." data-es="Las relaciones de dependencia entre capas son explícitas, tipadas y consultables — no implícitas solo en cadenas FROM de Dockerfile. workflow.ncl declara build_base y runtime_base por capa; la ontología codifica las aristas. Análisis de impacto (\"si cambia rust/, ¿qué capas deben reconstruirse?\") es responsable sin parsear Dockerfiles." data-key="ax2-p" >Layer dependencies are explicit, typed, and queryable via the ontology.
build_base and runtime_base are distinct workflow.ncl fields.
Three layer classes: toolchain, source-dep, native-dep.
Every edge below is declared as FlowsTo in the ontology.
cargo-chef + sccache are stacked: chef solves the dep graph at layer-build time; sccache deduplicates downstream.
cargo-chef cook produces a pre-warmed registry — consumers skip dep compilation.
sccache via BuildKit secrets + S3 backend — compilation results deduped across layers.
Each ADR carries typed constraints; Hard + Grep = enforceable invariants.
Two consumption modes: FROM base, or COPY --from registry donor.
# Toolchain base — replaces from-scratch rustup install FROM daoreg.librecloud.online/lamina/rust:1.88 AS builder # Pre-cooked dependency donor — skips ~minutes of cargo build FROM daoreg.librecloud.online/lamina/rustelo:1.88 AS rustelo-deps COPY --from=rustelo-deps /usr/local/cargo/registry /usr/local/cargo/registry RUN cargo build --release # source only — deps already cooked
# Suggest layers for a downstream project from its Cargo.toml nu lian-build/catalog-suggest.nu --project /path/to/project # Build every layer in the catalog via lian-build aggregate directives just build-all # Cascade-trigger: rebuild only descendants of a changed layer nu lian-build/cascade-trigger.nu --changed rust
lamina is one of four projects in tetra-build.
The build substrate every lamina layer runs on. lamina supplies the what; lian-build executes the how.
More information → Where lamina's layer builds run — the claim-arbitration fleet behind lian-build's 'fleet adapter.
Where lamina caches the build, solera curates the runtime — wordpress-fpm, aralez, fip-controller. Same lian-build pipeline, same workflow.ncl grammar.
More information →Sporadic updates about lamina. Double opt-in, one-click unsubscribe.