blob: 411cdc899654b1a9d49c44d331e3923bc3db32ca [file] [log] [blame]
MichaelMorris0b4c1942020-03-01 10:51:27 +00001FROM onap/base_sdc-jetty:1.6.0
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
Tal Gitelmanfa222902017-08-16 13:44:31 +03007ADD WSSimulator*.war ${JETTY_BASE}/webapps/
Michael Landob35130e2017-09-27 19:31:12 +03008
Tal Gitelman0a722cd2017-10-24 14:54:53 +03009USER root
10
Tal Gitelmanfa222902017-08-16 13:44:31 +030011RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
12
13COPY startup.sh /root/
14
Tal Gitelman0a722cd2017-10-24 14:54:53 +030015RUN chmod 777 /root/startup.sh
Tal Gitelmanfa222902017-08-16 13:44:31 +030016
17ENTRYPOINT [ "/root/startup.sh" ]