From f55616d37bbc4897c0df4ffb5832e823506c234e Mon Sep 17 00:00:00 2001 From: Chris Crone Date: Fri, 11 Dec 2020 11:16:50 +0100 Subject: [PATCH] build: Do not unnecessarily export images When we do not require an image output from a `docker build` command, we should not export an image as this just wastes time. I believe this requires using buildx which can be enabled with `docker buildx install` Signed-off-by: Chris Crone --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index c6cff2f35..19bafa715 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ # limitations under the License. export DOCKER_BUILDKIT=1 +export BUILDX_NO_DEFAULT_LOAD=1 UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Linux)