diff options
author | Jack Lucas <jflucas@research.att.com> | 2017-10-14 00:24:19 +0000 |
---|---|---|
committer | Jack Lucas <jflucas@research.att.com> | 2017-10-14 00:25:34 +0000 |
commit | a3ff376fe84dbd3581449f83a52fc4c9abec8e81 (patch) | |
tree | 746c6366d4343fb4f1c95ef00b7a2d451212065b /bootstrap/Dockerfile-template | |
parent | f7e64768d235e079a93d431c1ffcfd38b3747ae1 (diff) |
Add install of platform components
Change-Id: I9600acb8c3eb29a9c994b7aa95e6f4fbeb06f9ba
Issue-Id: DCAEGEN2-159
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Diffstat (limited to 'bootstrap/Dockerfile-template')
-rw-r--r-- | bootstrap/Dockerfile-template | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap/Dockerfile-template b/bootstrap/Dockerfile-template index 921f90c..935e77b 100644 --- a/bootstrap/Dockerfile-template +++ b/bootstrap/Dockerfile-template @@ -9,11 +9,12 @@ RUN apt-get update\ && mkdir -p ${INSROOT}/${APPUSER}/blueprints\ && useradd -d ${INSROOT}/${APPUSER} ${APPUSER} COPY installer-docker.sh ${INSROOT}/${APPUSER}/installer +COPY teardown.sh ${INSROOT}/${APPUSER}/teardown # COPY *.yaml ${INSROOT}/${APPUSER}/blueprints/ RUN wget -P ${INSROOT}/${APPUSER}/blueprints/ {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_blueprints_releases }}/blueprints/centos_vm.yaml RUN wget -P ${INSROOT}/${APPUSER}/blueprints/ {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_blueprints_releases }}/blueprints/consul_cluster.yaml WORKDIR ${INSROOT}/${APPUSER} -RUN chown -R ${APPUSER}:${APPUSER} ${INSROOT}/${APPUSER} && chmod +x ${INSROOT}/${APPUSER}/installer +RUN chown -R ${APPUSER}:${APPUSER} ${INSROOT}/${APPUSER} && chmod +x ${INSROOT}/${APPUSER}/installer && chmod +x ${INSROOT}/${APPUSER}/teardown USER ${APPUSER} ENTRYPOINT exec "${INSROOT}/${APPUSER}/installer" |