Use apt install instead so that deps are installed

This commit is contained in:
Girish Ramakrishnan
2017-04-20 10:37:46 -07:00
parent 9b4e81b476
commit cf701b8eb0
2 changed files with 3 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ if [[ $(docker version --format {{.Client.Version}}) != "17.03.1-ce" ]]; then
exit 5
fi
apt-get remove -y --allow-change-held-packages docker-engine || true
dpkg -i /tmp/docker.deb
apt install /tmp/docker.deb
rm /tmp/docker.deb
fi