From d034c8b5ce24fd88072bda2dd0cb45ccb3d50af7 Mon Sep 17 00:00:00 2001 From: marvin Date: Tue, 20 Oct 2026 17:13:09 +0200 Subject: [PATCH] Add .containerignore: minimal build context Deny-all with explicit allows (Cargo files, src/, init/, kernel/config). Previously the full linux submodule was shipped into every build context. --- .containerignore | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .containerignore diff --git a/.containerignore b/.containerignore new file mode 100644 index 0000000..dff3550 --- /dev/null +++ b/.containerignore @@ -0,0 +1,10 @@ +# 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