blob: bc4336653bb26dea73d778dcf27138b96373f7d6 [file] [log] [blame]
Michael Landoaae1c342018-05-16 18:09:17 +03001FROM onap/base_sdc-jetty:1.3.1
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" ]