blob: 9052e74b527f4129b140f45a1def4f230802460b [file] [log] [blame]
Areli Fuss0a89f592017-09-11 10:27:29 +03001FROM openecomp/base_sdc-backend:1.0.0-SNAPSHOT-latest
Michael Lando9dd269d2017-02-20 01:04:22 +02002
3COPY chef-solo /root/chef-solo/
Areli Fuss0a89f592017-09-11 10:27:29 +03004
Michael Lando9dd269d2017-02-20 01:04:22 +02005COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/
6
Areli Fuss0a89f592017-09-11 10:27:29 +03007#RUN python /root/chef-solo/cookbooks/sdc-normatives/files/default/get-pip.py
Michael Lando9dd269d2017-02-20 01:04:22 +02008
Areli Fuss0a89f592017-09-11 10:27:29 +03009ADD onboarding-be-*.war ${JETTY_BASE}/webapps/
Michael Lando9dd269d2017-02-20 01:04:22 +020010
Areli Fuss0a89f592017-09-11 10:27:29 +030011ADD catalog-be-*.war ${JETTY_BASE}/webapps/
12
13ADD api-docs.war ${JETTY_BASE}/webapps/
14
15RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
Michael Lando9dd269d2017-02-20 01:04:22 +020016
17COPY startup.sh /root/
Areli Fuss0a89f592017-09-11 10:27:29 +030018
Michael Lando9dd269d2017-02-20 01:04:22 +020019RUN chmod 770 /root/startup.sh
Areli Fuss0a89f592017-09-11 10:27:29 +030020
Michael Lando9dd269d2017-02-20 01:04:22 +020021ENTRYPOINT [ "/root/startup.sh" ]