@@ -2,7 +2,6 @@ FROM ubuntu:12.04
22MAINTAINER Doro Wu <fcwu.tw@gmail.com>
33
44ENV DEBIAN_FRONTEND noninteractive
5- ENV HTTP_PROXY http://172.17.42.1:3134
65
76# setup our Ubuntu sources (ADD breaks caching)
87RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ precise main\n \
@@ -16,16 +15,16 @@ deb http://us.archive.ubuntu.com/ubuntu/ precise restricted\n\
1615RUN apt-mark hold initscripts udev plymouth mountall
1716RUN dpkg-divert --local --rename --add /sbin/initctl && ln -s /bin/true /sbin/initctl
1817
19- RUN apt-get update
18+ RUN HTTP_PROXY=http://172.17.42.1:3142 apt-get update
2019
2120# install our "base" environment
22- RUN apt-get install -y --no-install-recommends openssh-server pwgen sudo vim-tiny
23- RUN apt-get install -y --no-install-recommends lxde
24- RUN apt-get install -y --no-install-recommends x11vnc xvfb
25- RUN apt-get install -y supervisor
26- RUN apt-get install -y libreoffice firefox
21+ RUN HTTP_PROXY=http://172.17.42.1:3142 apt-get install -y --no-install-recommends openssh-server pwgen sudo vim-tiny
22+ RUN HTTP_PROXY=http://172.17.42.1:3142 apt-get install -y --no-install-recommends lxde
23+ RUN HTTP_PROXY=http://172.17.42.1:3142 apt-get install -y --no-install-recommends x11vnc xvfb
24+ RUN HTTP_PROXY=http://172.17.42.1:3142 apt-get install -y supervisor
25+ RUN HTTP_PROXY=http://172.17.42.1:3142 apt-get install -y libreoffice firefox
2726# noVNC
28- RUN apt-get install -y net-tools
27+ RUN HTTP_PROXY=http://172.17.42.1:3142 apt-get install -y net-tools
2928
3029ADD startup.sh /
3130ADD supervisord.conf /
0 commit comments