[#26] Added image cleaning recipe

master^2
Jef Roosens 2021-04-15 19:36:42 +02:00
parent cb78af62ba
commit 21e142e9a4
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
all: debug all: debug logs
.PHONY: all .PHONY: all
# Builds the debug release inside the Alpine container. For build caching, two # Builds the debug release inside the Alpine container. For build caching, two
@ -74,3 +74,7 @@ lint:
docs: docs:
@ cargo doc --no-deps @ cargo doc --no-deps
.PHONY: docs .PHONY: docs
# This recipe removes all chewingbever/fej images from your system
clean-images:
@ docker images | grep '^chewingbever/fej' | sed 's/ \+/ /g' | cut -f3 -d' ' | xargs docker rmi