Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [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 | |
| 18 | ADD onboarding-fe-__SDC-RELEASE__.war /var/lib/jetty/webapps/ |
| 19 | ADD catalog-fe-__SDC-RELEASE__.war /var/lib/jetty/webapps/ |
| 20 | RUN chown -R jetty:jetty /var/lib/jetty/webapps |
| 21 | |
| 22 | COPY startup.sh /root/ |
| 23 | |
| 24 | RUN chmod 770 /root/startup.sh |
| 25 | |
| 26 | ENTRYPOINT [ "/root/startup.sh" ] |