blob: 74dabdce34e44ee34a56e2d74927809ec0d07583 [file] [log] [blame]
Tal Gitelmanbb9146d2018-10-21 19:46:06 +03001FROM onap/base_sdc-jetty:1.4.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 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" ]