From 06d7157e3cf88d08fd4033ff2119421d27cccab8 Mon Sep 17 00:00:00 2001 From: Tycho Andersen Date: Fri, 26 May 2017 14:31:38 -0600 Subject: [PATCH] ima-namespace: only build utils if it doesn't exist Signed-off-by: Tycho Andersen --- projects/ima-namespace/ima-utils/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/ima-namespace/ima-utils/Makefile b/projects/ima-namespace/ima-utils/Makefile index 9e9e2f3a6..edac27939 100644 --- a/projects/ima-namespace/ima-utils/Makefile +++ b/projects/ima-namespace/ima-utils/Makefile @@ -7,6 +7,7 @@ DEPS=Dockerfile HASH?=$(shell git ls-tree HEAD -- ../$(notdir $(CURDIR)) | awk '{print $$3}') tag: $(DEPS) + docker pull linuxkit/$(IMAGE):$(HASH) || \ docker build --no-cache -t linuxkit/$(IMAGE):$(HASH) . push: tag