bump version to 1.2.3
[multicloud/framework.git] / multivimbroker / docker / Dockerfile
1 FROM python:2
2
3 ENV MSB_ADDR "127.0.0.1"
4 ENV MSB_PORT "80"
5 ENV AAI_ADDR "aai.api.simpledemo.openecomp.org"
6 ENV AAI_PORT "8443"
7 ENV AAI_SCHEMA_VERSION "v11"
8 ENV AAI_USERNAME "AAI"
9 ENV AAI_PASSWORD "AAI"
10
11 EXPOSE 9001
12
13 # COPY ./ /opt/multivimbroker/
14 RUN apt-get update && \
15     apt-get install -y unzip && \
16     cd /opt/ && \
17     wget -O multicloud-framework.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.multicloud.framework.broker&a=multicloud-framework-broker&e=zip&v=1.2.3-SNAPSHOT" && \
18     unzip -q -o -B multicloud-framework.zip && \
19     rm -f multicloud-framework.zip && \
20     pip install -r /opt/multivimbroker/requirements.txt
21
22 WORKDIR /opt/multivimbroker
23 CMD /bin/sh -c /opt/multivimbroker/run.sh