diff --git a/Makefile b/Makefile index 36a8970..1e6a605 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,9 @@ export ## Use env vars from latest release when reproducing ifdef REPRODUCE - include dist/release.env - export +include dist/release.env +NO_CACHE := --no-cache +export endif .DEFAULT_GOAL := @@ -30,6 +31,7 @@ out/airgap.iso: Containerfile $(shell git ls-files rootfs) --build-arg GIT_AUTHOR="$(GIT_AUTHOR)" \ --build-arg GIT_KEY="$(GIT_KEY)" \ --build-arg GIT_TIMESTAMP="$(GIT_TIMESTAMP)" \ + $(NO_CACHE) \ -f Containerfile \ .