From 3be5879fcf4e67307af200e0de0209f6ade96f4d Mon Sep 17 00:00:00 2001 From: NorseGaud Date: Sun, 6 Mar 2022 13:37:34 -0500 Subject: [PATCH] prevent piling up build intermediate containers --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e8987763..2d8d2494 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ VCS_VER = $(shell git describe --tags --contains --always) all: lint build backup generate-accounts tests clean build: - docker build -t $(NAME) . --build-arg VCS_VER=$(VCS_VER) --build-arg VCS_REF=$(VCS_REF) + docker build --force-rm -t $(NAME) . --build-arg VCS_VER=$(VCS_VER) --build-arg VCS_REF=$(VCS_REF) backup: # if backup directories exist, clean hasn't been called, therefore