aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRubén Beltrán del Río <jj@r.bdr.sh>2026-01-18 18:22:31 +0100
committerRubén Beltrán del Río <jj@r.bdr.sh>2026-01-18 19:07:03 +0100
commit3be89b9809561b80b35347e0030fd3a800076b50 (patch)
tree581df74966097986ade6807d1e2769fe2359f12f /Makefile
parent1125b770c557886fe4a910abe1ca7deebd44d5f6 (diff)
Add prune
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/$*