diff options
author | Schmalzried, Terry (ts862m) <ts862m@att.com> | 2020-08-21 15:59:22 -0400 |
---|---|---|
committer | Schmalzried, Terry (ts862m) <ts862m@att.com> | 2020-08-27 11:08:13 -0400 |
commit | 15b4979453ac9e85dc8e03d30d7ca440179dfc73 (patch) | |
tree | 35c61bd7fdfb20120cac7daadc62b75494c4a01a /cm-container/Dockerfile-template | |
parent | 33b1137c1766a57aa1cb7e77e51c0593c776ef56 (diff) |
Set Cloudify password3.2.0
Cloudify pod updates for sourcing password from CMPASS environment variable.
Issue-ID: DCAEGEN2-1975
Change-Id: I5f297af9ad92389d0901eee463ea175751853838
Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
Diffstat (limited to 'cm-container/Dockerfile-template')
-rw-r--r-- | cm-container/Dockerfile-template | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cm-container/Dockerfile-template b/cm-container/Dockerfile-template index 5e6d846..e79099d 100644 --- a/cm-container/Dockerfile-template +++ b/cm-container/Dockerfile-template @@ -13,20 +13,23 @@ # See the License for the specific language governing permissions and # limitations under the License. # ============LICENSE_END========================================================= -FROM cloudifyplatform/community:19.01.24 +FROM cloudifyplatform/community-cloudify-manager-aio:20.03.03 ENV PLUGIN_REPO {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }} # Store plugin files locally RUN mkdir scripts COPY scripts/* scripts/ +COPY reset_admin.py /opt/manager/ # Load our plugin files # Setup rc.local to set up k8s credentials for CM -RUN scripts/get-plugins.sh ${PLUGIN_REPO} \ +RUN chmod +x /opt/manager/reset_admin.py\ && chmod +x scripts/*.sh\ + && scripts/get-plugins.sh ${PLUGIN_REPO} \ && /scripts/configure-tls.sh\ && echo "/scripts/setup-secret.sh" >> /etc/rc.d/rc.local\ - && echo "/scripts/load-plugins.sh > /load-plugins.log 2>&1" >> /etc/rc.d/rc.local\ + && echo "/scripts/set-admin-password.sh" >> /etc/rc.d/rc.local\ + && echo "/scripts/load-plugins.sh >/load-plugins.log 2>&1" >> /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 |