diff --git a/.dockerignore b/.dockerignore index 85312f5d..54175491 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,6 @@ ./.* +# Allow .git to get copied into the container so we can use it in hack/get-ldflags.sh during build. +!/.git ./*.md ./*.yaml ./apis