summaryrefslogtreecommitdiffstats
path: root/bootstrap/installer-docker.sh-template
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-04-05 22:21:12 -0400
committerLusheng Ji <lji@research.att.com>2018-04-05 22:26:24 -0400
commit3c89b317125cf48412829cb10bb96fe29c95adac (patch)
tree0ade57ab56be080c66ee824c33ceefa8e642a6aa /bootstrap/installer-docker.sh-template
parentac864ceb9f1eeef6057d105e7a670ad064701750 (diff)
Fix pip version
Virtualenv automatically pulls the newest pip. Pip 10.0.0 was release on 2018/03/31. This new version no longer supports the --use-wheel option. Hence when running wagon install, which depends on pip --use-wheel, the bootstrap container quits. Fix: add a line to force pip to be a specific version, not auto to newest. Issue-ID: DCAEGEN2-433 Change-Id: I2d7e0a71c1b50682458abb658c62914931115869 Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'bootstrap/installer-docker.sh-template')
-rwxr-xr-xbootstrap/installer-docker.sh-template3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap/installer-docker.sh-template b/bootstrap/installer-docker.sh-template
index b056ca1..9c19fdb 100755
--- a/bootstrap/installer-docker.sh-template
+++ b/bootstrap/installer-docker.sh-template
@@ -94,6 +94,9 @@ chmod 600 ${PVTKEY}
virtualenv dcaeinstall
source dcaeinstall/bin/activate
+# forcing pip version (pip>=10.0.0 no longer support use wheel)
+pip install pip==9.0.3
+
# Install Cloudify
pip install cloudify==3.4.0