add a dockerignore

This is strictly for tightening the container to be more hygenic.

Signed-off-by: Brian Harring <ferringb@gmail.com>
This commit is contained in:
Brian Harring
2025-10-04 19:07:58 +02:00
parent 71432c7f4b
commit 8cbca05853

11
.dockerignore Normal file
View File

@@ -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/