6505f9022fca92e2574186becb20ecb0e5fded57
[sdc/sdc-docker-base.git] / base_sdc-vnc / Dockerfile
1 FROM consol/ubuntu-xfce-vnc
2
3 ARG HTTP_PROXY
4 ARG HTTPS_PROXY
5
6 ENV HTTP_PROXY  ${HTTP_PROXY}
7 ENV HTTPS_PROXY ${HTTPS_PROXY}
8
9 USER 0
10
11 RUN if [ ! -z ${HTTP_PROXY} ]; then echo "Acquire::http::proxy  \"${HTTP_PROXY}\";" >> /etc/apt/apt.conf; fi && \
12     if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::https::proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf; fi
13
14 RUN apt-get -y update && apt-get -y install curl
15
16 # install chef-solo
17 RUN curl -L  https://www.opscode.com/chef/install.sh | bash
18
19 # install java
20 RUN apt-get -y update && apt-get -y install default-jre