blob: 66ce1467b0a442baaa14bb246bb9167b54a01d0f [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
18ADD onboarding-fe-__SDC-RELEASE__.war /var/lib/jetty/webapps/
19ADD catalog-fe-__SDC-RELEASE__.war /var/lib/jetty/webapps/
20RUN chown -R jetty:jetty /var/lib/jetty/webapps
21
22COPY startup.sh /root/
23
24RUN chmod 770 /root/startup.sh
25
26ENTRYPOINT [ "/root/startup.sh" ]