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