summaryrefslogtreecommitdiffstats
path: root/deploy/prepare.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/prepare.sh')
-rwxr-xr-xdeploy/prepare.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/prepare.sh b/deploy/prepare.sh
index a620ac98..0927347c 100755
--- a/deploy/prepare.sh
+++ b/deploy/prepare.sh
@@ -92,6 +92,11 @@ function _prepare_python_env() {
sudo yum install -y libffi libffi-devel openssl-devel
sudo yum groupinstall -y 'Development Tools'
fi
+
+ sudo docker version >/dev/null 2>&1
+ if [[ $? -ne 0 ]]; then
+ install_docker
+ fi
fi
fi