make make cleanup prune volumes (#4600)

This commit is contained in:
Vadim Stepanov 2024-06-27 14:59:12 +01:00 committed by GitHub
parent f27eb23d12
commit 79803822b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 \