blob: e1a415f2cedc5e0986dc0df4514f98a489c6ab34 [file] [log] [blame]
Michael Landob35130e2017-09-27 19:31:12 +03001FROM openecomp/base_sdc-frontend:1.0.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" ]