Keep the per-developer .cargo out of the Docker build context

docs/building.md tells developers to put a [patch] to a sibling
VoelinProtocol checkout in .cargo/config.toml. It is git-ignored but was not
in .dockerignore, so it was sent to the daemon with every docker build and
could redirect the dependency to a path that does not exist in the image.
Only the root .cargo is excluded: third_party/dimpl/.cargo is committed and
stays.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Sonnet 5.5 committed 2026-10-20 06:19:11 +03:00
1 parent b68aeb6829
commit 143bc945f7
1 file changed
+4
+4
View File
@@ -2,6 +2,10 @@
# the sources only. Builds keep target/ in cache mounts, never in the context.
.git
.claude
# The per-developer .cargo/config.toml (docs/building.md, a [patch] to a sibling
# VoelinProtocol checkout): never part of a build. Only the root one; the
# committed third_party/dimpl/.cargo stays.
.cargo
target
dist
fuzz/target