From 2dc40f72ce1d4fa89926801480fcce76cf1da536 Mon Sep 17 00:00:00 2001 From: James Wampler Date: Thu, 2 Jul 2026 20:48:15 -0700 Subject: [PATCH] Add .dockerignore to stop host obj/bin leaking into CI image builds Dockerfile.ci COPYs full project directories after restoring inside the container. Without a .dockerignore, the host's obj/bin (built with a different local SDK than the container's) got copied over the container's fresh restore output, corrupting project.assets.json and crashing ResolvePackageAssets with a NullReferenceException on publish. --- .dockerignore | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..505af2d --- /dev/null +++ b/.dockerignore @@ -0,0 +1,7 @@ +**/bin/ +**/obj/ +**/node_modules/ +**/dist/ +.git/ +.husky/ +docs/