summaryrefslogtreecommitdiffstats
path: root/bootstrap/Dockerfile-template
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/Dockerfile-template')
-rw-r--r--bootstrap/Dockerfile-template20
1 files changed, 0 insertions, 20 deletions
diff --git a/bootstrap/Dockerfile-template b/bootstrap/Dockerfile-template
deleted file mode 100644
index 531939a..0000000
--- a/bootstrap/Dockerfile-template
+++ /dev/null
@@ -1,20 +0,0 @@
-FROM ubuntu:16.04
-MAINTAINER maintainer
-ENV INSROOT /opt/app
-ENV APPUSER installer
-RUN apt-get update\
- && apt-get install -y iputils-ping wget python-virtualenv python-pip ssh ed curl uuid-runtime netcat\
- && apt-get clean\
- && pip install --upgrade pip\
- && 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 && chmod +x ${INSROOT}/${APPUSER}/teardown
-USER ${APPUSER}
-ENTRYPOINT exec "${INSROOT}/${APPUSER}/installer"
-