From 26c396e50c7e329db3870653c7e741d33860d817 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Fri, 18 Dec 2020 11:40:54 -0800 Subject: [PATCH] Avoid pulling in the local context when building the docker image This shaves 10.4 seconds spent pulling in the entire working directory, which just gets ignored since we do a gem install of inspec. Signed-off-by: Tim Smith --- .dockerignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..d698ae021 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +# We don't want/need anything from the local system, so ignore everything. +*