Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 1 | FROM openecomp/base_sdc-backend:1.0.0-SNAPSHOT-latest |
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 | |
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 7 | #RUN python /root/chef-solo/cookbooks/sdc-normatives/files/default/get-pip.py |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 8 | |
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 9 | ADD onboarding-be-*.war ${JETTY_BASE}/webapps/ |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 10 | |
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 11 | ADD catalog-be-*.war ${JETTY_BASE}/webapps/ |
| 12 | |
| 13 | ADD api-docs.war ${JETTY_BASE}/webapps/ |
| 14 | |
| 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/ |
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 18 | |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 19 | RUN chmod 770 /root/startup.sh |
Areli Fuss | 0a89f59 | 2017-09-11 10:27:29 +0300 | [diff] [blame] | 20 | |
Michael Lando | 9dd269d | 2017-02-20 01:04:22 +0200 | [diff] [blame] | 21 | ENTRYPOINT [ "/root/startup.sh" ] |