Tal Gitelman | ae3a86d | 2018-10-30 19:45:19 +0200 | [diff] [blame] | 1 | FROM onap/base_sdc-jetty:1.4.1 |
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" ] |