From 79803822b4cbd6b752b5106688e239084853d1b1 Mon Sep 17 00:00:00 2001 From: Vadim Stepanov Date: Thu, 27 Jun 2024 14:59:12 +0100 Subject: [PATCH] make `make cleanup` prune volumes (#4600) --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d475d57b..64523b4e 100644 --- a/Makefile +++ b/Makefile @@ -156,7 +156,8 @@ build: ## rebuild images (e.g. when changing requirements.txt) cleanup: stop ## this will remove all of the images, containers, volumes, and networks ## associated with your local OnCall developer setup $(call echo_deprecation_message) - docker system prune --filter label="$(DOCKER_COMPOSE_DEV_LABEL)" --all --volumes + docker system prune --filter label="$(DOCKER_COMPOSE_DEV_LABEL)" --all --volumes --force + docker volume prune --filter label="$(DOCKER_COMPOSE_DEV_LABEL)" --all --force install-pre-commit: @if [ ! -x "$$(command -v pre-commit)" ]; then \