blob: 2f9b3d1184ea3a2b607cc7113b9a6bff33d78de3 [file] [log] [blame]
Idan Amit55dda1a2017-12-06 17:21:38 +02001FROM onap/base_sdc-jetty:1.2.0-SNAPSHOT-latest
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" ]