MichaelMorris | 0b4c194 | 2020-03-01 10:51:27 +0000 | [diff] [blame] | 1 | FROM onap/base_sdc-jetty:1.6.0 |
Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 2 | |
| 3 | COPY chef-solo /root/chef-solo/ |
| 4 | |
| 5 | COPY chef-repo/cookbooks /root/chef-solo/cookbooks/ |
| 6 | |
Satoshi Fujii | a4beafe | 2019-06-17 13:25:22 +0900 | [diff] [blame] | 7 | ADD --chown=jetty:jetty onboarding-be-*.war ${JETTY_BASE}/webapps/ |
Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 8 | |
Satoshi Fujii | a4beafe | 2019-06-17 13:25:22 +0900 | [diff] [blame] | 9 | ADD --chown=jetty:jetty api-docs.war ${JETTY_BASE}/webapps/ |
Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 10 | |
| 11 | USER root |
| 12 | |
Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 13 | COPY startup.sh /root/ |
| 14 | |
| 15 | RUN chmod 770 /root/startup.sh |
| 16 | |
| 17 | ENTRYPOINT [ "/root/startup.sh" ] |