Idan Amit | b5cc2e0 | 2017-12-10 15:00:20 +0200 | [diff] [blame^] | 1 | FROM onap/base_sdc-jetty:1.2.0-SNAPSHOT-latest |
Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 2 | |
| 3 | COPY chef-solo /root/chef-solo/ |
Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 4 | |
Michael Lando | b35130e | 2017-09-27 19:31:12 +0300 | [diff] [blame] | 5 | COPY chef-repo/cookbooks /root/chef-solo/cookbooks/ |
Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 6 | |
| 7 | RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.properties |
| 8 | |
| 9 | ADD WSSimulator*.war ${JETTY_BASE}/webapps/ |
Michael Lando | b35130e | 2017-09-27 19:31:12 +0300 | [diff] [blame] | 10 | |
Tal Gitelman | 0a722cd | 2017-10-24 14:54:53 +0300 | [diff] [blame] | 11 | USER root |
| 12 | |
Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 13 | RUN chown -R jetty:jetty ${JETTY_BASE}/webapps |
| 14 | |
| 15 | COPY startup.sh /root/ |
| 16 | |
Tal Gitelman | 0a722cd | 2017-10-24 14:54:53 +0300 | [diff] [blame] | 17 | RUN chmod 777 /root/startup.sh |
Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 18 | |
| 19 | ENTRYPOINT [ "/root/startup.sh" ] |