This commit is contained in:
Lloyd Watkin 2014-11-13 20:34:19 +00:00
parent 2f2ae3b1d4
commit 885c81d3ce

View file

@ -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
echo "Cleaning up..."
docker rmi prosody/prosody:$2
rm ./prosody.deb