commit f17bbd723a7218658bfeeb7ec91e226cc260d267
parent ced0a143e32ddbdc9d369e6a6cd2340ac318d167
Author: Divan Visagie <me@divanv.com>
Date: Fri, 16 Oct 2026 00:36:37 +0200
Sensible ignores: VM output, images, keys and editor files for git; only what the Containerfile copies for Docker
Diffstat:
2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/.dockerignore b/.dockerignore
@@ -1,2 +1,6 @@
-out/
-.git/
+# The build context is only what the Containerfile copies, so other changes
+# (docs, scripts) don't make Docker rebuild, and out/ (root-owned files from
+# podman, disk images) never goes to the daemon.
+*
+!system/
+!vm/registries.conf
diff --git a/.gitignore b/.gitignore
@@ -1 +1,20 @@
+# What the VM scripts make: the disk images, the SSH key, podman's storage,
+# logs (vm/README.md).
/out/
+
+# Disk images, logs and private keys anywhere else, should one land outside out/.
+*.raw
+*.qcow2
+*.img
+*.iso
+*.log
+id_ed25519
+id_rsa
+
+# Editors and desktops.
+*.swp
+*.swo
+*~
+.DS_Store
+.idea/
+.vscode/