summaryrefslogtreecommitdiffstats
path: root/vio/docker/Dockerfile
diff options
context:
space:
mode:
authorliangke <lokyse@163.com>2017-09-01 11:44:09 +0800
committerliangke <lokyse@163.com>2017-09-12 00:17:04 +0800
commit8c606e39936fc8676920c04bd08042b3ed7e82aa (patch)
tree5b58a613d3e4ac9239729a0c5cccbe59f52bdc5f /vio/docker/Dockerfile
parent4b94970eeb32c688d63542d0468130fb8d3953e9 (diff)
Multicloud VIO docker build files
Change-Id: I9e6188de471cd3ced174f65a31413bc1f7ee06d3 Issue-Id: MULTICLOUD-74 Signed-off-by: liangke <lokyse@163.com>
Diffstat (limited to 'vio/docker/Dockerfile')
-rw-r--r--vio/docker/Dockerfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/vio/docker/Dockerfile b/vio/docker/Dockerfile
new file mode 100644
index 0000000..7d2e84f
--- /dev/null
+++ b/vio/docker/Dockerfile
@@ -0,0 +1,27 @@
+FROM python:2
+
+ENV MSB_ADDR "127.0.0.1"
+ENV MSB_PORT "80"
+ENV AAI_ADDR "aai.api.simpledemo.openecomp.org"
+ENV AAI_PORT "8443"
+ENV AAI_SCHEMA_VERSION "v11"
+ENV AAI_USERNAME "AAI"
+ENV AAI_PASSWORD "AAI"
+
+EXPOSE 9004
+
+RUN apt-get update && \
+ apt-get install -y unzip && \
+ apt-get install -y curl && \
+ apt-get install -y wget
+
+
+RUN cd /opt/ && \
+ wget -q -O multicloud-vio.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.multicloud.openstack.vmware&a=multicloud-vio&v=LATEST&e=zip' && \
+ unzip multicloud-vio.zip && \
+ rm -rf multicloud-vio.zip && \
+ pip install -r vio/requirements.txt
+
+
+WORKDIR /opt
+ENTRYPOINT vio/docker/docker-entrypoint.sh