From e6d514dbab5c4b6192bd41275eecfe68cfd257f6 Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Tue, 5 Nov 2019 13:42:46 -0800 Subject: [PATCH] Add Dockerfile to .dockerignore The Dockerfile is not needed in any of the build targets. The one exception may be the dev image, however in most cases the docker source will be bind mounted into the container anyway. Signed-off-by: Brian Goff --- .dockerignore | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.dockerignore b/.dockerignore index 8645f94037..b8f478b4c1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,6 +1,8 @@ -bundles +.dockerignore +.git +.go-pkg-cache .gopath +bundles +Dockerfile vendor/pkg -.go-pkg-cache -.git