blob: 4a1921a804e973c1eef3dfacd0e595c52aef05f4 [file] [log] [blame]
Yuli Shlosbergb96e0da2018-07-08 11:50:54 +03001FROM onap/base_sdc-jetty:1.4.0-SNAPSHOT-latest
Avi Zivc175a0d2018-03-15 13:21:44 +02002
3COPY chef-solo /root/chef-solo/
4
5COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
6
7ADD onboarding-be-*.war ${JETTY_BASE}/webapps/
8
9ADD api-docs.war ${JETTY_BASE}/webapps/
10
11USER root
12
13RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
14
15COPY startup.sh /root/
16
17RUN chmod 770 /root/startup.sh
18
19ENTRYPOINT [ "/root/startup.sh" ]