blob: a59d868f7fbe981e95ec4600735c1674fc136212 [file] [log] [blame]
Michael Lando9dd269d2017-02-20 01:04:22 +02001FROM jetty:9.3.15-jre8
2
3RUN apt-get -y update
4RUN apt-get -y install apt-utils
5RUN apt-get -y install curl
6RUN apt-get -y install vim
7
8COPY chef-solo /root/chef-solo/
9COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
10
11# install chef-solo
Grinberg Motic3bda482017-02-23 11:24:34 +020012RUN curl -L https://omnitruck.chef.io/install.sh | bash
Michael Lando9dd269d2017-02-20 01:04:22 +020013
14RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.properties
15
16ADD onboarding*.war ${JETTY_BASE}/webapps/
Michael Landoed64b5e2017-06-09 03:19:04 +030017ADD catalog-fe-*.war ${JETTY_BASE}/webapps/
Michael Lando9dd269d2017-02-20 01:04:22 +020018RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
19
20COPY startup.sh /root/
21
22RUN chmod 770 /root/startup.sh
23
24ENTRYPOINT [ "/root/startup.sh" ]