Tal Gitelman | ae3a86d | 2018-10-30 19:45:19 +0200 | [diff] [blame] | 1 | FROM onap/base_sdc-jetty:1.4.1 |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 2 | |
3 | COPY chef-solo /root/chef-solo/ | ||||
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 4 | |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 5 | COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/ |
6 | |||||
Michael Lando | aa61644 | 2017-10-24 11:08:18 +0300 | [diff] [blame] | 7 | ADD catalog-be-*.war ${JETTY_BASE}/webapps/ |
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 8 | |
Michael Lando | aa61644 | 2017-10-24 11:08:18 +0300 | [diff] [blame] | 9 | USER root |
10 | |||||
11 | RUN chown -R jetty:jetty ${JETTY_BASE}/webapps | ||||
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 12 | |
13 | COPY startup.sh /root/ | ||||
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 14 | |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 15 | RUN chmod 770 /root/startup.sh |
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 16 | |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 17 | ENTRYPOINT [ "/root/startup.sh" ] |