make make cleanup prune volumes (#4600)
This commit is contained in:
parent
f27eb23d12
commit
79803822b4
1 changed files with 2 additions and 1 deletions
3
Makefile
3
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 \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue