blob: e28a85d51e8c4fa96eff1785f9a5ec1bd2b84cf5 [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
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" ]