From 21e142e9a4feaaa01fe292772b262018597c2c8e Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 15 Apr 2021 19:36:42 +0200 Subject: [PATCH] [#26] Added image cleaning recipe --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5d8c22e..f9c6456 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -all: debug +all: debug logs .PHONY: all # Builds the debug release inside the Alpine container. For build caching, two @@ -74,3 +74,7 @@ lint: docs: @ cargo doc --no-deps .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