summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cm-container/Dockerfile-template10
-rw-r--r--cm-container/pom.xml2
2 files changed, 11 insertions, 1 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
diff --git a/cm-container/pom.xml b/cm-container/pom.xml
index fb3dae3..6d7114a 100644
--- a/cm-container/pom.xml
+++ b/cm-container/pom.xml
@@ -27,7 +27,7 @@ limitations under the License.
<groupId>org.onap.dcaegen2.deployments</groupId>
<artifactId>cm-container</artifactId>
<name>dcaegen2-deployments-cm-container</name>
- <version>1.1.0</version>
+ <version>1.2.0</version>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>