From 10fc7997af1bb3c1cbed1647093f5436d7c37e86 Mon Sep 17 00:00:00 2001 From: Theo Koulouris Date: Mon, 30 Oct 2017 15:25:59 +0000 Subject: [PATCH] okernel: made image building container use '--no-cache' option Signed-off-by: Theo Koulouris --- projects/okernel/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/okernel/Makefile b/projects/okernel/Makefile index 21c12cec2..4352bf8f1 100644 --- a/projects/okernel/Makefile +++ b/projects/okernel/Makefile @@ -13,7 +13,7 @@ KERNEL_VERSION=$(KERNEL) IMAGE_VERSION=$(KERNEL_VERSION) LATEST=0 else -$(error Error, valid okernel kernel versions begin with "ok-") +$(error Error, please specify a valid okernel kernel version beginning with "ok-") endif else KERNEL_VERSION=linux-okernel @@ -38,7 +38,7 @@ endif .PHONY: image push tag kvmod image: $(DEPS) - BUILD=$$( tar cf - $^ | docker build -f $< $(PROXY_ARG) --build-arg DEBUG=$(DEBUG) --build-arg KERNEL_VERSION=$(KERNEL_VERSION) -q -t $(IMAGE):build - ) && [ -n "$$BUILD" ] && echo "Built $$BUILD" && echo "$$BUILD" > build_info + BUILD=$$( tar cf - $^ | docker build --no-cache -f $< $(PROXY_ARG) --build-arg DEBUG=$(DEBUG) --build-arg KERNEL_VERSION=$(KERNEL_VERSION) -q -t $(IMAGE):build - ) && [ -n "$$BUILD" ] && echo "Built $$BUILD" && echo "$$BUILD" > build_info default: tag