ANTfrastructure documentation

Contents

ANTfrastructure documentation#

Multi-stage Linux container images for GPU development stacks, a slim nginx webserver, and a Windows build image.

  • Multi-stage Linux images for reproducible caching

  • Windows toolchain container for CI and local builds

  • Optional media and Android layers for specialized workloads

Choose the guide that matches the task you want to do — or start from the documentation index, which maps every topic to the page that owns it.

Documentation Index

Topic to owning document, for this repo and every project that consumes it. Start here.

Documentation index — who owns which topic
Common Failure Modes

Symptom, cause and fix for every failure hit live on the Linux and Windows lanes.

Common failure modes — symptom lookup
Adopting In A New Project

Wiring a new project to this repo: submodule, module resolver, container builds, CI actions.

Adopting ANTfrastructure in a New Project
Project Overview

Published images, repository image chain, and a feature snapshot.

Project Overview
Linux Build Basics

Local runs, multi-arch builds, and sequential nerdctl builds.

Linux Build Basics
Linux Cross Builds

Additive cross-compiler lane, SDK rootfs artifacts, runtime artifacts, and manifest publishing.

Linux Cross Builds
Linux Accelerator Images

NVIDIA, AMD, and Torch variants on top of the standard Linux image chain.

Linux Accelerator Images
Hailo Support

Plan for bringing the Hailo runtime, Python bindings, and GStreamer element into the Linux image chain.

Hailo support — image-chain integration plan
Linux Host Setup

GPU drivers, CUDA, container runtime config, performance mode, and boot recovery on the host.

Linux Host Setup (GPU, drivers, runtime, boot)
Windows Build Image

What is installed, the build commands, the patch policy, and the smoke gate.

Windows Build Image
Windows Build Lanes

BuildKit and nerdctl: which to use, isolation policy, preflight gates, and the removed classic docker lane.

Windows build lanes — BuildKit, nerdctl and classic docker
Windows Build Invariants

48 load-bearing rules, each with the incident that produced it. Read before editing windows/.

Windows build invariants (do not regress)
Windows Host Setup

Ordered bring-up for a brand-new Windows host, host gates included.

Fresh Windows Host Bring-Up (BK lane + repo gates)
Runtime Services and Streaming

Webserver, display forwarding, Raspberry Pi camera notes, and WebRTC signalling and streaming.

Runtime Services and Streaming
Project Information

Prerequisites, installation, tests, roadmap, troubleshooting, contribution, contact, and references.

Project Information
Third-Party Licences

Every bundled component, what its licence obliges this project to do, and the corresponding source for the copyleft ones.

Third-Party Software & Licenses

Linux image flow#

The Linux container stack is intentionally split into reusable stages so BuildKit can cache stable layers and rebuild only the slice you changed.

For the full image chain, see Project Overview. For local and multi-arch build commands, see Linux Build Basics.

Common development targets:

nerdctl build -f linux/Dockerfile.base -t local/kataglyphis:base .
nerdctl build -f linux/Dockerfile.toolchain -t local/kataglyphis:compiler .
nerdctl build -f linux/Dockerfile.sdk -t local/kataglyphis:sdk .
nerdctl build -f linux/Dockerfile.media -t local/kataglyphis:media .
nerdctl build -f linux/Dockerfile.android -t local/kataglyphis:android .
nerdctl build -f linux/Dockerfile.torch -t local/kataglyphis:latest .

Linux:

Windows: