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:
1 parent
b68aeb6829
commit
143bc945f7
1 file changed
+4
@@ -2,6 +2,10 @@
|
|||||||
# the sources only. Builds keep target/ in cache mounts, never in the context.
|
# the sources only. Builds keep target/ in cache mounts, never in the context.
|
||||||
.git
|
.git
|
||||||
.claude
|
.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
|
target
|
||||||
dist
|
dist
|
||||||
fuzz/target
|
fuzz/target
|
||||||
|
|||||||
Reference in new issue
Block a user