blob: ed54c8a443b59b73837e05c6c18178379a52e304 [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 catalog-be-*.war ${JETTY_BASE}/webapps/
Areli Fuss0a89f592017-09-11 10:27:29 +03008
Michael Landoaa616442017-10-24 11:08:18 +03009USER root
10
11RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
Michael Lando9dd269d2017-02-20 01:04:22 +020012
13COPY startup.sh /root/
Areli Fuss0a89f592017-09-11 10:27:29 +030014
Michael Lando9dd269d2017-02-20 01:04:22 +020015RUN chmod 770 /root/startup.sh
Areli Fuss0a89f592017-09-11 10:27:29 +030016
Michael Lando9dd269d2017-02-20 01:04:22 +020017ENTRYPOINT [ "/root/startup.sh" ]