6 ENV HTTP_PROXY ${HTTP_PROXY}
7 ENV HTTPS_PROXY ${HTTPS_PROXY}
9 RUN if [ ! -z ${HTTP_PROXY} ]; then echo "Acquire::http::proxy \"${HTTP_PROXY}\";" >> /etc/apt/apt.conf; fi && \
10 if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::https::proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf; fi
13 RUN apt-get -y install apt-utils
14 RUN apt-get -y install curl
15 RUN apt-get -y install vim
17 COPY chef-solo /root/chef-solo/
18 COPY chef-repo/cookbooks /root/chef-solo/cookbooks/
21 RUN curl -L https://omnitruck.chef.io/install.sh | bash
23 RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.properties
25 ADD WSSimulator*.war ${JETTY_BASE}/webapps/
26 RUN chown -R jetty:jetty ${JETTY_BASE}/webapps
28 COPY startup.sh /root/
30 RUN chmod 770 /root/startup.sh
32 ENTRYPOINT [ "/root/startup.sh" ]