diff --git a/packages/dns-test/src/container.rs b/packages/dns-test/src/container.rs index f1ef2277..449f81d8 100644 --- a/packages/dns-test/src/container.rs +++ b/packages/dns-test/src/container.rs @@ -57,6 +57,9 @@ impl Container { exec_or_panic(&mut cp_r, false); } + fs::write(docker_build_dir.join(".dockerignore"), "src/.git") + .expect("could not create .dockerignore file"); + exec_or_panic(&mut command, verbose_docker_build()); });