Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 1 | FROM jetty |
| 2 | |
| 3 | RUN apt-get -y update |
| 4 | RUN apt-get -y install apt-utils |
| 5 | RUN apt-get -y install curl |
| 6 | RUN apt-get -y install vim |
| 7 | |
| 8 | COPY chef-solo /root/chef-solo/ |
| 9 | COPY chef-repo/cookbooks /root/chef-solo/cookbooks/ |
| 10 | |
| 11 | ENV BASE_NEXUS zl999y:ChangeMe@10.208.197.75:8443/repository/maven-public/org/openecomp/sdc |
| 12 | |
| 13 | # install chef-solo |
| 14 | RUN curl -L https://www.opscode.com/chef/install.sh | bash |
| 15 | |
| 16 | RUN cp /usr/local/jetty/resources/log4j.properties /var/lib/jetty/resources/log4j.properties |
| 17 | |
Tal Gitelman | e8dc876 | 2017-08-17 12:11:12 +0300 | [diff] [blame] | 18 | ADD sdc-simulator-__SDC-RELEASE__.war /var/lib/jetty/webapps/ |
Tal Gitelman | fa22290 | 2017-08-16 13:44:31 +0300 | [diff] [blame] | 19 | RUN chown -R jetty:jetty /var/lib/jetty/webapps |
| 20 | |
| 21 | COPY startup.sh /root/ |
| 22 | |
| 23 | RUN chmod 770 /root/startup.sh |
| 24 | |
| 25 | ENTRYPOINT [ "/root/startup.sh" ] |