docker file update
[sdc.git] / sdc-os-chef / sdc-frontend / Dockerfile
1 FROM jetty:9.3.15-jre8
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 # install chef-solo
12 RUN curl -L https://www.opscode.com/chef/install.sh | bash
13
14 RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.properties
15
16 ADD onboarding*.war                    ${JETTY_BASE}/webapps/
17 ADD catalog-fe-__SDC-RELEASE__.war     ${JETTY_BASE}/webapps/
18 RUN chown -R jetty:jetty               ${JETTY_BASE}/webapps
19
20 COPY startup.sh /root/
21
22 RUN chmod 770 /root/startup.sh
23
24 ENTRYPOINT [ "/root/startup.sh" ]