From 51cd8ae0cac1f46d7d43cd9782545872546e7185 Mon Sep 17 00:00:00 2001 From: Danny Grove Date: Sun, 3 Aug 2025 00:10:48 -0700 Subject: [PATCH] Makefile: add NOCACHE flag for docker --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 73bff35..ea23f14 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,13 @@ PROGRESS ?= auto REGISTRY ?= git.distrust.co/public VERSION := latest +ifeq ($(NOCACHE), 1) +NOCACHE_FLAG=--no-cache +else +NOCACHE_FLAG= +endif +export NOCACHE_FLAG + include $(PWD)/src/make/macros.mk .DEFAULT_GOAL :=