aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 22a55e6..260a0df 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,13 @@ TAG = monique.moccu:5000/gowiki
all: publish
build:
- docker build -t ${TAG} .
+ docker build -t ${TAG} --rm --no-cache .
publish: build
docker push ${TAG}
clean:
go clean
+
+rmi:
+ docker rmi $(docker images -f 'dangling=true' -q)