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 && mkdir /app/ca-certificates
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
16 COPY ca-certificates/onap-ca.crt /app/ca-certificates/onap-ca.crt
18 RUN chown -R so:so /app && chmod 700 /app/*.sh
20 ## TODO for Casablanca: install this in the openstack-adapter container
22 #RUN apt-get install -y python && apt-get install -y python-pip && echo 'PIP Installed, doing upgrade' && pip install --upgrade pip
23 #RUN mkdir /opt/mso/heatbridge
24 #COPY heatbridge/heatbridge-0.3.0.dev0-py2-none-any.whl /opt/mso/heatbridge
25 #RUN pip install /opt/mso/heatbridge/heatbridge-0.3.0.dev0-py2-none-any.whl
27 # Springboot configuration (required)
30 # Root certificates (optional)
31 VOLUME /app/ca-certificates
34 CMD ["/app/start-app.sh"]