summaryrefslogtreecommitdiffstats
path: root/cm-container/Dockerfile-template
diff options
context:
space:
mode:
authorJack Lucas <jflucas@research.att.com>2018-04-16 22:07:20 +0000
committerJack Lucas <jflucas@research.att.com>2018-04-16 22:08:44 +0000
commitb16d16eca45530ba1c4e63ca9e14277dd5649251 (patch)
tree4212f728daaa0b215e7ebaa7671ab940ea123a07 /cm-container/Dockerfile-template
parent5aef0ad96c07424138659020de4f9c5f011d5c28 (diff)
Add support for HEAT install
Issue-ID: DCAEGEN2-416 Change-Id: I7aeb895c6a6f461923b2a67d0ba099e9f7907dfc Signed-off-by: Jack Lucas <jflucas@research.att.com>
Diffstat (limited to 'cm-container/Dockerfile-template')
-rw-r--r--cm-container/Dockerfile-template10
1 files changed, 10 insertions, 0 deletions
diff --git a/cm-container/Dockerfile-template b/cm-container/Dockerfile-template
index cbfca20..2c67d51 100644
--- a/cm-container/Dockerfile-template
+++ b/cm-container/Dockerfile-template
@@ -33,3 +33,13 @@ RUN scripts/get-type-files.sh ${TYPE_REPO} ${CCSDK_REPO}\
&& chown -R cfyuser:cfyuser /opt/manager/resources/spec/cloudify/3.4
# Create mount point for CM config file
RUN mkdir -p /opt/onap && chown cfyuser:cfyuser /opt/onap
+
+# For HEAT environment, install software needed to use Cloudify CLI 4.2 to install plugins & deploy blueprints locally
+# Install python development-related packages
+RUN yum install -y gcc python-devel python-virtualenv python-pip
+
+# Set up virtualenv and install Cloudify CLI 4.2
+RUN pip install --upgrade pip==9.0.3 \
+ && virtualenv cfy42 \
+ && source cfy42/bin/activate \
+ && pip install cloudify==4.2