1 FROM onap/so/base-image:1.0
4 ENV HTTP_PROXY=$http_proxy
5 ENV http_proxy=$HTTP_PROXY
7 ENV HTTPS_PROXY=$https_proxy
8 ENV https_proxy=$HTTPS_PROXY
10 RUN mkdir /app && mkdir /app/config && mkdir /app/certificates && mkdir /app/logs
12 COPY maven/app.jar /app
13 COPY configs/logging/logback-spring.xml /app
14 COPY scripts/start-app.sh /app
15 COPY scripts/wait-for.sh /app
17 RUN chown -R so:so /app && chmod 700 /app/*.sh
19 ## TODO for Casablanca: install this in the openstack-adapter container
21 #RUN apt-get install -y python && apt-get install -y python-pip && echo 'PIP Installed, doing upgrade' && pip install --upgrade pip
22 #RUN mkdir /opt/mso/heatbridge
23 #COPY heatbridge/heatbridge-0.3.0.dev0-py2-none-any.whl /opt/mso/heatbridge
24 #RUN pip install /opt/mso/heatbridge/heatbridge-0.3.0.dev0-py2-none-any.whl
26 # Springboot configuration (required)
29 # Root certificates (optional)
30 VOLUME /app/ca-certificates
33 CMD ["/app/start-app.sh"]