blob: ecd245a53330a415f49ebf84e4986bfdd880dd0a [file] [log] [blame]
Yuli Shlosberg44144952017-11-09 13:34:49 +02001FROM openecomp/base_sdc-backend:v1.0.0
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" ]