Project Overview#
About The Project#
This project ships ready-to-build Dockerfiles for multiple targets in a single repo — plus the reusable tooling consumer projects build on: PowerShell modules (windows/scripts/modules/), bash libraries (linux/scripts/lib/: agentic-loop, app-runner, cmake-build, code-quality and more), cross-platform shared data (shared/agentic-loop/prompts/), CI composite actions (.github/actions/, see its README) and the reusable workflows consumers call at @develop (python-ci-*, build-docs, lint-gates, submodule-pins, container-ci-windows). The AGENTS.md Repo Map is the authoritative index of that half of the repo.
Container registry: ghcr.io/kataglyphis/kataglyphis_beschleuniger — the multi-arch Linux :latest, the Windows build image :winamd64 and the :winarm64 bundle; Published Images and Tag Hints lists every tag.
The architecture summary AGENTS.md carried#
Moved out of AGENTS.md on 2026-09-15 (owner decision D10); corrected since where the code moved. The RULES stayed there; this is the reference behind them.
Three build lanes. Supported Linux arches: amd64, arm64, riscv64. Windows host:
windows/amd64 only; Windows targets: amd64 (image, production) and arm64
(cross-compiled artifact bundle — plumbing landed 2026-08-22 and the lane BUILDS since
2026-08-23; nothing it produces has ever been RUN, because Windows x64 has no ARM64 emulation,
so every arm64 signal is a static PE machine-type check. Build-Buildkit.ps1 -TargetArch arm64
just works: torch is dropped from the DEFAULT stage list with a notice (asking for it
explicitly still throws — it runs uv sync, which must execute the target interpreter).
Which components are through is tracked in the status banner of docs/windows-cross-builds.md —
do not restate it here, it moves). Since 2026-08-26 the two lanes are at RUNTIME parity: same
GStreamer plugin set (200 DLLs, six contract plugins, gst-ptp-helper; the contract has
thirteen since CON28 on 2026-10-05, and the seven WebRTC ones run on an arm64 device since
2026-10-11), same media/inference
surface, and the same six python wheels — the TVM/IREE runtime python packages are
cross-built and assembled on this lane (#133). What stays amd64-only is a short, closed list:
classic TensorRT (CUDA/cuDNN are cross-built since #176, 2026-09-20), the TVM and IREE
compilers (target-arch LLVM), LiteRT-LM, the torch app
stage — each named in the bundle by an ABSENT-ON-ARM64.txt / COMPILER-ABSENT-ON-ARM64.txt
marker, so a consumer never has to guess.
Never publish the arm64 lane’s output with
--platform windows/arm64. It is a cross build out of the samewindows/amd64container and its product is an artifact bundle, not a runnable image; that flag yields a manifest nothing can run. Why no arm64 Windows container can exist, and the lane’s current coverage:docs/windows-cross-builds.md.The base carries four arm64-only prerequisites, all installed UNCONDITIONALLY in the shared base — never gate them on an arch ARG (that re-pays the chain’s most expensive layers on every lane switch). They are warn-only in the base (
Test-Arm64Prereqs.ps1reports on all four); the GStreamer build throws on the ones it actually needs.WINDOWS_ARM64_STRICT=1promotes the base checks to hard gates, but it must be passed as a build-arg (-BuildArg WINDOWS_ARM64_STRICT=1; a host env var alone does nothing) and it never reachesInstall-Vs.ps1’s MSVClib\arm64check (that RUN sits above theARGdeclaration inDockerfile.base). The prerequisite list, rationale and traps:docs/windows-cross-builds.md.
Dockerfile |
FROM |
Produces |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Supported platforms, as AGENTS.md listed them#
Moved out of AGENTS.md on 2026-09-15 (owner decision D10); corrected since where the code moved. The RULES stayed there; this is the reference behind them.
Component |
Build platform |
Target platforms |
|---|---|---|
Cross lane (stages 1-5) |
|
|
Runtime lane (stage 6) |
Native or QEMU |
|
Final manifest |
N/A |
Multi-arch: |
Windows lane |
|
|
Windows cross lane |
|
|
riscv64’s feature-parity exemptions: AGENTS.md § Linux Build Rules.
Expected outputs, as AGENTS.md listed them#
Moved out of AGENTS.md on 2026-09-15 (owner decision D10); corrected since where the code moved. The RULES stayed there; this is the reference behind them.
After a successful build-cross-chain.sh run:
All cross-lane intermediate images pushed to GHCR
Per-architecture wrapper images (
:latest-<arch>) pushed to GHCRMulti-arch manifest (
:latest) pushed to GHCR
A variant chain (CROSS_VARIANT=nvidia|rocm) writes :latest-<variant>-<arch> and
:latest-<variant> instead, and --no-push builds every stage locally and pushes
nothing.
Published Images and Tag Hints#
Image |
Platforms |
Tag examples |
Description |
|---|---|---|---|
ghcr.io/kataglyphis/kataglyphis_beschleuniger |
linux/amd64, linux/arm64, linux/riscv64 |
|
The default manifest — the current cross-lane release, Hailo and (when staged) QNN included. Built via digest-pinned stage chain ( |
ghcr.io/kataglyphis/kataglyphis_beschleuniger |
the variant’s arches (nvidia: linux/amd64, arm64 planned; rocm: linux/amd64) |
|
A variant’s manifest over all its arches, only for a stack that cannot ship in |
ghcr.io/kataglyphis/kataglyphis_beschleuniger |
linux/amd64 |
|
Cross-lane intermediate images (amd64-hosted, cross-compiled for target arches; the |
ghcr.io/kataglyphis/kataglyphis_beschleuniger |
per-arch native |
|
Runtime lane per-arch wrapper images the manifests are assembled from (internal). The chain pushes |
ghcr.io/kataglyphis/kataglyphis_beschleuniger |
linux/amd64, linux/arm64, linux/riscv64 |
|
Retired old name of |
ghcr.io/kataglyphis/kataglyphis_beschleuniger:webserver |
as built |
|
Minimal nginx static webserver image, built by hand from a named build context ( |
ghcr.io/kataglyphis/kataglyphis_beschleuniger |
windows/amd64 |
|
Windows Server Core 2025 build image with MSVC, LLVM/Clang, Vulkan SDK, Rust, Flutter, WiX — a manifest over |
ghcr.io/kataglyphis/kataglyphis_beschleuniger |
windows/amd64 (arm64 bundle) |
|
The arm64 cross artifact bundle: a |
Images in This Repository#
🔥
linux/Dockerfile.torch: Final Linux wrapper image — Torch/Python layer + runtime scripts + entrypoint.🌐
linux/webserver/Dockerfile: Minimal nginx static webserver (config atlinux/webserver/nginx.conf).🪟
windows/Dockerfile.base,windows/Dockerfile.nvidiaorwindows/Dockerfile.rocm(optional GPU layer),windows/Dockerfile.toolchain-builder,windows/Dockerfile.media-merge-builder(+ per-branch media builders),windows/Dockerfile.rocm-migraphxandwindows/Dockerfile.rocm-llama(rocm variant only),windows/Dockerfile.torch(the OrchestrANT app stage),windows/Dockerfile(driven bywindows/Build-Buildkit.ps1): Windows Server Core 2025 build image with MSVC Build Tools, LLVM/Clang, Vulkan SDK, Rust, Flutter, WiX.
Linux Image Chain#
The Linux images build as a chain of separate Dockerfiles (one per stage, for layer caching), ending in the linux/Dockerfile.torch wrapper. The per-stage table (Dockerfile → FROM → produced tag) is above, and the README’s repo tree carries the annotated per-stage contents. Per-stage mechanics live in Linux build basics and Linux cross builds — including Dockerfile.sdk’s reuse for amd64-hosted cross SDK artifact builds via BUILD_MODE=cross and Dockerfile.package’s clean-base runtime assembly in both native and cross flows.
What You Get#
✅ Multi-arch builds via nerdctl + BuildKit.
🎮 Vulkan + toolchains ready for GPU passthrough.
🧠 Torch/Python runtime included in the final Linux image chain.
📡 Ready-to-serve static web content with nginx.
Key Features#
Category |
Feature |
Status |
|---|---|---|
Cross-build |
Multi-arch cross toolchain (amd64, arm64, riscv64) |
✔️ |
Cross-build |
Digest-pinned stage handoff |
✔️ |
Cross-build |
Runtime packaging via QEMU/binfmt |
✔️ |
GPU acceleration |
NVIDIA CUDA 13.4, cuDNN, TensorRT |
✔️ |
GPU acceleration |
DirectML (Windows, vendor-agnostic — ONNX Runtime + GenAI DML EP) |
✔️ |
GPU acceleration |
AMD MIGraphX |
✔️ |
GPU acceleration |
Vulkan SDK 1.4.363.0 |
✔️ |
Media |
ONNX Runtime 1.31.0 |
✔️ |
Media |
GStreamer 1.29.2, OpenCV 5.0.0, LiteRT |
✔️ |
Media |
libcamera, FFmpeg |
✔️ |
Compiler |
GCC 16.2.0, LLVM/Clang 23.1.3 |
✔️ |
Language runtime |
Python 3.15.0, Node.js 26.11.1 |
✔️ |
Android |
SDK 15859902, NDK 29.0.14206865 |
✔️ |
Windows |
MSVC Build Tools, CUDA 13.4, GStreamer 1.29.2 |
✔️ |
Windows |
Vulkan SDK 1.4.363.0, ONNX Runtime 1.31.0 |
✔️ |
Windows-on-ARM |
Cross-built artifact bundle ( |
✔️ |
Legend: ✔️ completed · 🔶 in progress · ❌ not started
See Third-Party Licenses for license information on bundled software.