From 91eed5403503d576b8f7d37ad88f44923a574085 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Mon, 21 Aug 2017 11:42:44 +0800 Subject: Fix docker install Docker install only exist in off-line deploy flow. Add it into normal deploy flow. Change-Id: I2addf54eb6f74cb8faf799db343d84eaacea9fcb Signed-off-by: Harry Huang --- deploy/prepare.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit 1.2.3-korg