mirror of https://github.com/codevalet/master
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:
parent
b30e5bfb27
commit
d449edfbdb
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue