summaryrefslogtreecommitdiffstats
path: root/cm-container/Dockerfile-template
diff options
context:
space:
mode:
authorJack Lucas <jflucas@research.att.com>2019-05-31 07:54:47 -0400
committerJack Lucas <jflucas@research.att.com>2019-05-31 17:09:35 -0400
commit058958bf64d14c00e77fd8c695fec49942be6f70 (patch)
treeeab7e6a2d62eb69066ca7541d042e152c2ae3bad /cm-container/Dockerfile-template
parentdab0be7327dffdbfe220c96e265706dc919f6374 (diff)
Add TLS server support
Change-Id: Ic9efe74e6ede2e503ab5b227f259900b0d04d18a Issue-ID: DCAEGEN2-909 Signed-off-by: Jack Lucas <jflucas@research.att.com>
Diffstat (limited to 'cm-container/Dockerfile-template')
-rw-r--r--cm-container/Dockerfile-template11
1 files changed, 1 insertions, 10 deletions
diff --git a/cm-container/Dockerfile-template b/cm-container/Dockerfile-template
index fbf6ca8..90835cc 100644
--- a/cm-container/Dockerfile-template
+++ b/cm-container/Dockerfile-template
@@ -33,24 +33,15 @@ RUN scripts/get-type-files.sh ${TYPE_REPO} ${CCSDK_REPO}\
&& curl -Ss https://cloudify.co/spec/cloudify/3.4/types.yaml > /opt/manager/resources/spec/cloudify/3.4/types.yaml\
&& chown -R cfyuser:cfyuser /opt/manager/resources/spec/cloudify/3.4\
&& chmod +x scripts/*.sh\
+ && /scripts/configure-tls.sh\
&& echo "/scripts/setup-secret.sh" >> /etc/rc.d/rc.local\
&& echo "/scripts/set-resolver-rules.sh" >> /etc/rc.d/rc.local\
&& chmod +x /etc/rc.d/rc.local
# 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
-
# Install jq (used for cleanup--parsing output of CM API call)
RUN curl -Ss -L "https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64" > /bin/jq \
&& chmod +x /bin/jq
-# 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
-
CMD ["/scripts/start-persistent.sh"]