From a50d38a8a55cc4c4b2fc28832599ca1e84444f0e Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Sat, 3 Aug 2024 15:23:49 -0700 Subject: [PATCH] force --no-cache in reproduce mode --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 \ .