diff --git a/Makefile b/Makefile index aa9d750efa..404bfc10e1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: compose_build up test_db create_database clean down tests lint backend-unit-tests frontend-unit-tests test build watch start redis-cli bash +.PHONY: compose_build up test_db create_database clean clean-all down tests lint backend-unit-tests frontend-unit-tests test build watch start redis-cli bash compose_build: .env COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose build @@ -17,7 +17,21 @@ create_database: .env docker compose run server create_db clean: - docker compose down && docker compose rm + docker compose down + docker compose --project-name cypress down + docker compose rm --stop --force + docker compose --project-name cypress rm --stop --force + docker image rm --force \ + cypress-server:latest cypress-worker:latest cypress-scheduler:latest \ + redash-server:latest redash-worker:latest redash-scheduler:latest + docker container prune --force + docker image prune --force + docker volume prune --force + +clean-all: clean + docker image rm --force \ + redash/redash:10.1.0.b50633 redis:7-alpine maildev/maildev:latest \ + pgautoupgrade/pgautoupgrade:15-alpine3.8 pgautoupgrade/pgautoupgrade:latest down: docker compose down