summaryrefslogtreecommitdiffstats
path: root/cm-container/Dockerfile-template
diff options
context:
space:
mode:
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