Don't overwrite local docker installs on linux

If a user has installed docker via other means, checking for docker.io
will cause apt-get to install over it and break the existing docker
installation. Since docker-compose will install docker.io recursively,
this is safer for users that have things configured already.

Change-Id: I6c45c70fbcdcdb8597310372fa331d764b1dd859
Reviewed-on: https://gerrit.instructure.com/158944
Reviewed-by: Omar Khan <okhan@instructure.com>
Product-Review: Steve Kacsmark <skacsmark@instructure.com>
QA-Review: Steve Kacsmark <skacsmark@instructure.com>
Tested-by: Jenkins
This commit is contained in:
Steve Kacsmark 2018-07-27 13:11:11 -05:00
parent a706f9e3a7
commit 9b07536047
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ if [[ $OS == 'Darwin' ]]; then
dependencies='docker docker-machine docker-compose dinghy'
elif [[ $OS == 'Linux' ]]; then
install='sudo apt-get update && sudo apt-get install -y'
dependencies='docker.io docker-compose'
dependencies='docker-compose'
else
echo 'This script only supports MacOS and Linux :('
exit 1