aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 57a54a4..8e104e3 100644
--- a/Makefile
+++ b/Makefile
@@ -92,6 +92,9 @@ po/%/LC_MESSAGES/systems.tranquil.Map.mo: po/%.po
# Container Images #############################################################
build-container-%:
+ifeq ($(clean_images),1)
+ podman system prune -af
+endif
@echo "=== Building container image: $(container_image_prefix):$* ==="
podman build -t $(container_image_prefix):$* build-containers/$*