Ensure `make clean` always succeeds

Sometimes this will fail if the docker daemon claims to have already removed
some stuff. Messy messy messy
This commit is contained in:
R. Tyler Croy 2018-01-02 13:32:03 -08:00
parent b30e5bfb27
commit d449edfbdb
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 2 additions and 2 deletions

View File

@ -12,10 +12,10 @@ container: Dockerfile nginx.conf supervisord.conf
docker build -t $(IMAGE_NAME):latest .
clean: $(COMPOSE)
$(COMPOSE) down
docker rmi $(shell docker images -q -f "reference=$(IMAGE_NAME)")
rm -rf bats
rm -rf build
$(COMPOSE) down
docker rmi $(shell docker images -q -f "reference=$(IMAGE_NAME)") || true
bats: