Firecracker: pull prebuilt images from Gitea OCI registry (drop the Docker bootstrap) #386
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The Firecracker backend is now Docker-free in the launch path (PR #354 / PRD 0070 Stage B): agent images build inside a builder VM (buildah), and the orchestrator + gateway run as a single per-host infra VM. The one remaining Docker use is bootstrapping the fixed images:
infra_vm.ensure_built()and the builder still shell out to hostdocker buildto produce thebot-bottle-gateway/bot-bottle-infra/bot-bottle-orchestratorimages, which are then exported to ext4 rootfs.Per the agreed design (session 2026-07-16) and PRD 0069 Stage 2, the default install mode should be pull a prebuilt image, with build-from-source as an opt-in for devs. Pulling also resolves the bootstrap chicken-and-egg (nothing needs a builder to come up).
Scope
gitea.dideric.is).bot-bottle-infra,bot-bottle-gateway, and the agent base) to the registry — a release/CI step. Decide tag/version scheme (digest-pinned).skopeo copy+umoci/buildahunpack to a rootfs dir feeding the existingmke2fs -dpath (which is already Docker-free).--build-from-source(or an env/config flag) = the current buildah/docker-export build. Wire throughinfra_vm.ensure_built()and the agent-image path._source_hashstaleness path — seeorchestrator/lifecycle.py), staleness by image digest.Out of scope
Refs