From 9d505158bb8fd3933da3010957dd69ed7ca2b45b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 28 Dec 2025 16:18:39 +0000 Subject: [PATCH] Add .dockerignore to optimize Docker builds Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com> --- .dockerignore | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..8cfd485 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,49 @@ +# Git +.git +.gitignore +.github + +# Documentation +*.md +!README.md +ARCHITECTURE.md +CONTRIBUTING.md +LICENSE + +# Build artifacts +init +*.o +*.a +*.so +*.img +*.iso +build/ + +# Generated rootfs contents (we build our own in Docker) +rootfs/bin/* +rootfs/sbin/init +rootfs/usr/ +rootfs/lib/ +rootfs/lib64/ +rootfs/boot/ + +# Keep rootfs structure +!rootfs/etc/ +!rootfs/root/ +!rootfs/home/ + +# Temporary files +*.tmp +*.bak +/tmp/ + +# IDE and editor files +.vscode/ +.idea/ +*.swp +*.swo +*~ + +# OS files +.DS_Store +Thumbs.db