summaryrefslogtreecommitdiffstats
path: root/cm-container/Dockerfile-template
diff options
context:
space:
mode:
authorJack Lucas <jflos@sonoris.net>2020-12-04 14:27:11 -0500
committerJack Lucas <jflos@sonoris.net>2021-01-07 10:02:14 -0500
commitbc4f7b8493766b757ad6ebc204b48b4dc5a82e82 (patch)
tree96885dd31fe2d38c1588e294a18407d71481be6c /cm-container/Dockerfile-template
parent68eca53cf38d8d004ae3ea50e8d1197b0325a466 (diff)
[DCAE] Update Cloudify Manager to Python 3.x4.0.0-cm-container
Issue-ID: DCAEGEN2-2542 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I8d3c42fc80290394df4eb3bd724c6e43d60c0a96
Diffstat (limited to 'cm-container/Dockerfile-template')
-rw-r--r--cm-container/Dockerfile-template21
1 files changed, 9 insertions, 12 deletions
diff --git a/cm-container/Dockerfile-template b/cm-container/Dockerfile-template
index b5ce5ab..c794cff 100644
--- a/cm-container/Dockerfile-template
+++ b/cm-container/Dockerfile-template
@@ -1,6 +1,6 @@
# ============LICENSE_START=======================================================
# Copyright (c) 2018-2020 AT&T Intellectual Property. All rights reserved.
-# Copyright (c) 2020 J. F. Lucas. All rights reserved.
+# Copyright (c) 2020-2021 J. F. Lucas. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -14,23 +14,20 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ============LICENSE_END=========================================================
-FROM cloudifyplatform/community-cloudify-manager-aio:20.03.03
+FROM cloudifyplatform/community-cloudify-manager-aio:20.12.15
ENV PLUGIN_REPO {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}
-# Store plugin files locally
+# Install openssh-clients to ssh-keygen, used by the sshkeyshare plugin
+RUN yum install -y openssh-clients
+
RUN mkdir scripts
COPY scripts/* scripts/
-COPY reset_admin.py /opt/manager/
-# Load plugins, set up TLS configuration, load Cloudify type file
-RUN chmod +x /opt/manager/reset_admin.py \
- && chmod +x scripts/*.sh \
- && scripts/get-plugins.sh ${PLUGIN_REPO} \
- && /scripts/configure-tls.sh \
- && mkdir /opt/manager/resources/spec/cloudify/4.5.5 \
- && curl -Ss -L -f https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml > /opt/manager/resources/spec/cloudify/4.5.5/types.yaml \
- && chown -R cfyuser:cfyuser /opt/manager/resources/spec/cloudify/4.5.5
+# Load plugins and set up TLS configuration
+ RUN chmod +x scripts/*.sh \
+ && scripts/get-plugins.sh ${PLUGIN_REPO} \
+ && /scripts/configure-tls.sh
# Create mount point for CM config file
RUN mkdir -p /opt/onap && chown cfyuser:cfyuser /opt/onap