blob: 3ce093ef956df0872c6abe946ef92dfca7dfa56d [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 Moti7aea13f2017-02-22 12:01:00 +020012#RUN curl -L http://www.opscode.com/chef/install.sh | bash
Grinberg Moti86fc38f2017-02-22 14:08:17 +020013RUN bash chef-install.sh
Michael Lando9dd269d2017-02-20 01:04:22 +020014
15RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.properties
16
17ADD onboarding*.war ${JETTY_BASE}/webapps/
18ADD catalog-fe-__SDC-RELEASE__.war ${JETTY_BASE}/webapps/
19RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
20
21COPY startup.sh /root/
22
23RUN chmod 770 /root/startup.sh
24
25ENTRYPOINT [ "/root/startup.sh" ]