blob: f2764227e583c1dc6584cf83b259f6f4eb840929 [file] [log] [blame]
Michael Lando921360a2018-04-28 07:24:43 +03001FROM onap/base_sdc-jetty:1.3.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" ]