blob: 88a0ad6597d22f3d5e689f61d03653ebd02406bb [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001FROM jetty
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
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
16ENV BASE_NEXUS zl999y:ChangeMe@10.208.197.75:8443/repository/maven-public/org/openecomp/sdc
17
18# install chef-solo
19RUN curl -L https://www.opscode.com/chef/install.sh | bash
20
21#ADD https://${BASE_NEXUS}/api-docs/1610.0.0-SNAPSHOT/api-docs-1610.0.0-20161211.143739-1.war /var/lib/jetty/webapps/
22ADD onboarding-be-__SDC-RELEASE__.war /var/lib/jetty/webapps/
23ADD catalog-be-__SDC-RELEASE__.war /var/lib/jetty/webapps/
24RUN chown -R jetty:jetty /var/lib/jetty/webapps
25
26COPY startup.sh /root/
27
28RUN chmod 770 /root/startup.sh
29
30ENTRYPOINT [ "/root/startup.sh" ]