# Firecracker infra VM image (PRD 0070 Stage B). # # Extends the shared infra base (Dockerfile.infra: gateway + orchestrator # control plane) with the in-VM agent-image builder. The Firecracker backend # builds users' agent Dockerfiles *inside this VM* with buildah (rootless, # daemonless) instead of on the host — no host Docker daemon, no # root-equivalent `docker` group. # # Requires the trixie base from bot-bottle-gateway (buildah 1.39: bookworm's # 1.28 can't parse Dockerfile heredocs that agent images use). # # `crun` is the OCI runtime; `netavark` + `aardvark-dns` are the network # backend for `FROM` pulls + `RUN` egress. `vfs` + `chroot`: buildah works # as root in the bare microVM (no fuse-overlayfs / overlay module / subuid # maps). Matches image_builder. FROM bot-bottle-infra:latest RUN apt-get update \ && apt-get install -y --no-install-recommends \ buildah crun netavark aardvark-dns \ && rm -rf /var/lib/apt/lists/* ENV STORAGE_DRIVER=vfs \ BUILDAH_ISOLATION=chroot