5a8e9e0f190b7de55c96757ae712e30ab27bcf2f
[sdc/sdc-docker-base.git] / base_sdc-frontend / Dockerfile
1 FROM jetty:9.3-jre8
2
3 ARG HTTP_PROXY
4 ARG HTTPS_PROXY
5
6 ENV HTTP_PROXY  ${HTTP_PROXY}
7 ENV HTTPS_PROXY ${HTTPS_PROXY}
8
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 
11
12 RUN apt-get -y update && apt-get -y install \
13     apt-utils \
14     curl \
15     vim
16
17 # install chef-solo
18 RUN curl -L https://omnitruck.chef.io/install.sh | bash