Files
boco/.containerignore
marvin e7fa17f8dc
CI / build (pull_request) Successful in 14s
Add Containerfile: build boco (musl) + slim kernel; runnable runner image
- 3-stage build: musl boco+boco-init (rust>=1.88, alpine:edge), linux-7.2
  bzImage from kernel/config (pinned tarball, sha256-verified), slim runtime
  with qemu/virtiofsd/podman.
- .containerignore: deny-all context (Cargo files, src/, init/, kernel/config)
  so the linux submodule no longer ships into every build.
- Verified end-to-end: kernel boots under KVM, ext4 rootfs, userspace init.
- NOTE: nested rootless podman cannot 'podman unshare -> container mount'
  (build path); boot path works as-is.
2026-10-20 17:26:54 +02:00

11 lines
235 B
Plaintext

# Build context: deny everything, then allow only what the Containerfile needs.
# Keeps the linux submodule (and example/, .gitea/, README, etc.) out of the build.
*
!Cargo.toml
!Cargo.lock
!src/
!src/**
!init/
!init/**
!kernel/config