Yuli Shlosberg | 1788983 | 2018-04-08 14:03:29 +0300 | [diff] [blame^] | 1 | FROM onap/base_sdc-jetty:1.3.0-SNAPSHOT-latest |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 2 | |
| 3 | COPY chef-solo /root/chef-solo/ |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 4 | |
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 5 | COPY chef-repo/cookbooks /root/chef-solo/cookbooks/ |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 6 | |
| 7 | RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.properties |
| 8 | |
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 9 | ADD onboarding*.war ${JETTY_BASE}/webapps/ |
| 10 | |
| 11 | ADD catalog-fe-*.war ${JETTY_BASE}/webapps/ |
| 12 | |
Michael Lando | aa61644 | 2017-10-24 11:08:18 +0300 | [diff] [blame] | 13 | USER root |
| 14 | |
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 15 | RUN chown -R jetty:jetty ${JETTY_BASE}/webapps |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 16 | |
| 17 | COPY startup.sh /root/ |
| 18 | |
| 19 | RUN chmod 770 /root/startup.sh |
| 20 | |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 21 | ENTRYPOINT [ "/root/startup.sh" ] |