blob: 2940a4328698e4446342208cd51f01b07c036ad7 [file] [log] [blame]
Yuli Shlosberg44144952017-11-09 13:34:49 +02001FROM openecomp/base_sdc-frontend:v1.0.0
Michael Lando9dd269d2017-02-20 01:04:22 +02002
3COPY chef-solo /root/chef-solo/
Michael Lando9dd269d2017-02-20 01:04:22 +02004
Areli Fuss0a89f592017-09-11 10:27:29 +03005COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
Michael Lando9dd269d2017-02-20 01:04:22 +02006
7RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.properties
8
Areli Fuss0a89f592017-09-11 10:27:29 +03009ADD onboarding*.war ${JETTY_BASE}/webapps/
10
11ADD catalog-fe-*.war ${JETTY_BASE}/webapps/
12
Michael Landoaa616442017-10-24 11:08:18 +030013USER root
14
Areli Fuss0a89f592017-09-11 10:27:29 +030015RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
Michael Lando9dd269d2017-02-20 01:04:22 +020016
17COPY startup.sh /root/
18
19RUN chmod 770 /root/startup.sh
20
Michael Lando9dd269d2017-02-20 01:04:22 +020021ENTRYPOINT [ "/root/startup.sh" ]