blob: 20a4624a49ee2428db616113553ae68a1ea11a92 [file] [log] [blame]
Yuli Shlosberg17889832018-04-08 14:03:29 +03001FROM onap/base_sdc-jetty:1.3.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
Michael Landoaa616442017-10-24 11:08:18 +03007ADD onboarding-be-*.war ${JETTY_BASE}/webapps/
Michael Lando9dd269d2017-02-20 01:04:22 +02008
Michael Landoaa616442017-10-24 11:08:18 +03009ADD catalog-be-*.war ${JETTY_BASE}/webapps/
Areli Fuss0a89f592017-09-11 10:27:29 +030010
Michael Landoaa616442017-10-24 11:08:18 +030011ADD api-docs.war ${JETTY_BASE}/webapps/
Areli Fuss0a89f592017-09-11 10:27:29 +030012
Michael Landoaa616442017-10-24 11:08:18 +030013USER root
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" ]