mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
okernel: made image building container use '--no-cache' option
Signed-off-by: Theo Koulouris <theo.koulouris@hpe.com>
This commit is contained in:
parent
611d3cb6fd
commit
10fc7997af
@ -13,7 +13,7 @@ KERNEL_VERSION=$(KERNEL)
|
|||||||
IMAGE_VERSION=$(KERNEL_VERSION)
|
IMAGE_VERSION=$(KERNEL_VERSION)
|
||||||
LATEST=0
|
LATEST=0
|
||||||
else
|
else
|
||||||
$(error Error, valid okernel kernel versions begin with "ok-")
|
$(error Error, please specify a valid okernel kernel version beginning with "ok-")
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
KERNEL_VERSION=linux-okernel
|
KERNEL_VERSION=linux-okernel
|
||||||
@ -38,7 +38,7 @@ endif
|
|||||||
|
|
||||||
.PHONY: image push tag kvmod
|
.PHONY: image push tag kvmod
|
||||||
image: $(DEPS)
|
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
|
default: tag
|
||||||
|
Loading…
Reference in New Issue
Block a user