blob: 64e662256169a66784e154f5d8fa7ef8428fa2e4 [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/
Michael Lando9dd269d2017-02-20 01:04:22 +02004
Areli Fuss0a89f592017-09-11 10:27:29 +03005COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
Michael Lando9dd269d2017-02-20 01:04:22 +02006
7RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.properties
8
Areli Fuss0a89f592017-09-11 10:27:29 +03009ADD onboarding*.war ${JETTY_BASE}/webapps/
10
11ADD catalog-fe-*.war ${JETTY_BASE}/webapps/
12
Michael Landoaa616442017-10-24 11:08:18 +030013USER root
14
Areli Fuss0a89f592017-09-11 10:27:29 +030015RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
Michael Lando9dd269d2017-02-20 01:04:22 +020016
17COPY startup.sh /root/
18
19RUN chmod 770 /root/startup.sh
20
Michael Lando9dd269d2017-02-20 01:04:22 +020021ENTRYPOINT [ "/root/startup.sh" ]