blob: e546d48655afb93386553c3f3d51fb99dd50ad25 [file] [log] [blame]
Idan Amitb5cc2e02017-12-10 15:00:20 +02001FROM onap/base_sdc-jetty:1.2.0-SNAPSHOT-latest
Tal Gitelmanfa222902017-08-16 13:44:31 +03002
3COPY chef-solo /root/chef-solo/
Tal Gitelmanfa222902017-08-16 13:44:31 +03004
Michael Landob35130e2017-09-27 19:31:12 +03005COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
Tal Gitelmanfa222902017-08-16 13:44:31 +03006
7RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.properties
8
9ADD WSSimulator*.war ${JETTY_BASE}/webapps/
Michael Landob35130e2017-09-27 19:31:12 +030010
Tal Gitelman0a722cd2017-10-24 14:54:53 +030011USER root
12
Tal Gitelmanfa222902017-08-16 13:44:31 +030013RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
14
15COPY startup.sh /root/
16
Tal Gitelman0a722cd2017-10-24 14:54:53 +030017RUN chmod 777 /root/startup.sh
Tal Gitelmanfa222902017-08-16 13:44:31 +030018
19ENTRYPOINT [ "/root/startup.sh" ]