blob: 673b56fd071c10e5b832b914cb2b1ae93ef93db2 [file] [log] [blame]
Tal Gitelmanfa222902017-08-16 13:44:31 +03001FROM 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
7
8COPY chef-solo /root/chef-solo/
9COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
10
11ENV BASE_NEXUS zl999y:ChangeMe@10.208.197.75:8443/repository/maven-public/org/openecomp/sdc
12
13# install chef-solo
14RUN curl -L https://www.opscode.com/chef/install.sh | bash
15
16RUN cp /usr/local/jetty/resources/log4j.properties /var/lib/jetty/resources/log4j.properties
17
Tal Gitelmane8dc8762017-08-17 12:11:12 +030018ADD sdc-simulator-__SDC-RELEASE__.war /var/lib/jetty/webapps/
Tal Gitelmanfa222902017-08-16 13:44:31 +030019RUN chown -R jetty:jetty /var/lib/jetty/webapps
20
21COPY startup.sh /root/
22
23RUN chmod 770 /root/startup.sh
24
25ENTRYPOINT [ "/root/startup.sh" ]