blob: e872919a11c93d08b2efb19c965fe69569618a60 [file] [log] [blame]
Michael Landoed64b5e2017-06-09 03:19:04 +03001FROM jetty:9.3-jre8
Michael Lando9dd269d2017-02-20 01:04:22 +02002
3RUN apt-get -y update
4RUN apt-get -y install apt-utils
5RUN apt-get -y install curl
6RUN apt-get -y install vim
7RUN apt-get -y install jq
8RUN apt-get -y install python libssl-dev libcurl4-openssl-dev python-dev gcc
9
10COPY chef-solo /root/chef-solo/
11COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/
12
13RUN python /root/chef-solo/cookbooks/sdc-normatives/files/default/get-pip.py
14RUN pip install pycurl
15
16# install chef-solo
Grinberg Motic3bda482017-02-23 11:24:34 +020017RUN curl -L https://omnitruck.chef.io/install.sh | bash
Michael Lando9dd269d2017-02-20 01:04:22 +020018
Michael Landoed64b5e2017-06-09 03:19:04 +030019ADD onboarding-be-*.war ${JETTY_BASE}/webapps/
20ADD catalog-be-*.war ${JETTY_BASE}/webapps/
Tal Gitelman68ccc452017-06-22 18:23:07 +030021ADD api-docs.war ${JETTY_BASE}/webapps/
Michael Lando9dd269d2017-02-20 01:04:22 +020022RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
23
24COPY startup.sh /root/
Michael Lando9dd269d2017-02-20 01:04:22 +020025RUN chmod 770 /root/startup.sh
Michael Lando9dd269d2017-02-20 01:04:22 +020026ENTRYPOINT [ "/root/startup.sh" ]