From 885c81d3ce1df1e361e3f5c3688cf3bcf3f634ad Mon Sep 17 00:00:00 2001 From: Lloyd Watkin Date: Thu, 13 Nov 2014 20:34:19 +0000 Subject: [PATCH] Clean up --- build-docker.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build-docker.sh b/build-docker.sh index 930ddca..933f9c1 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -10,7 +10,11 @@ if [[ -z "$2" ]]; then exit 1 fi +echo "Starting build..." cp $1 ./prosody.deb docker build -t prosody/prosody:$2 . docker push prosody/prosody -docker rmi prosody/prosody:$2 \ No newline at end of file + +echo "Cleaning up..." +docker rmi prosody/prosody:$2 +rm ./prosody.deb \ No newline at end of file