build(Makefile): add clean-images target
This commit is contained in:
parent
8198559a94
commit
0ecb342e8f
10
Makefile
10
Makefile
@ -69,13 +69,15 @@ clean:
|
|||||||
-rm -rf .stack-work .stack-work.lock
|
-rm -rf .stack-work .stack-work.lock
|
||||||
-rm -rf bin .Dockerfile develop
|
-rm -rf bin .Dockerfile develop
|
||||||
-$(CONTAINER_COMMAND) container prune --force
|
-$(CONTAINER_COMMAND) container prune --force
|
||||||
.PHONY: clean-all
|
.PHONY: clean-images
|
||||||
# HELP: like clean but with full container, image, and volume prune
|
clean-images: clean
|
||||||
clean-all: clean
|
|
||||||
-rm -rf .stack
|
|
||||||
-$(CONTAINER_COMMAND) system prune --all --force --volumes
|
-$(CONTAINER_COMMAND) system prune --all --force --volumes
|
||||||
-$(CONTAINER_COMMAND) image prune --all --force
|
-$(CONTAINER_COMMAND) image prune --all --force
|
||||||
-$(CONTAINER_COMMAND) volume prune --force
|
-$(CONTAINER_COMMAND) volume prune --force
|
||||||
|
.PHONY: clean-all
|
||||||
|
# HELP: like clean but with full container, image, and volume prune
|
||||||
|
clean-all: clean-images
|
||||||
|
-rm -rf .stack
|
||||||
|
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
# HELP: create, commit and push a new release
|
# HELP: create, commit and push a new release
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user