From 8cbca058535e39579c4f0ef6375b32fd48a4601f Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Sat, 4 Oct 2025 19:07:58 +0200 Subject: [PATCH] add a dockerignore This is strictly for tightening the container to be more hygenic. Signed-off-by: Brian Harring --- .dockerignore | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..f4bdf33d7 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,11 @@ +# Actual layer caching is impossible due to .git, but +# that must be included for provenance reasons. These ignores +# are strictly for hygenic build. +* +!/*.go +!/go.* +!/cmd/* +!/internal/* +!/helpers/* +!/VERSION +!/.git/