blob: e3e66e52d43844b86088f8556da3e43e1f986784 [file] [log] [blame]
Yuli Shlosbergb96e0da2018-07-08 11:50:54 +03001FROM onap/base_sdc-jetty:1.4.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" ]