blob: 7fd978947f397bfde779ff0a5226f0a55761125a [file] [log] [blame]
Tal Gitelmanae3a86d2018-10-30 19:45:19 +02001FROM onap/base_sdc-jetty:1.4.1
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" ]