File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,10 +16,9 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F9
1616RUN apt-get update -q
1717RUN apt-get install -yq lxc-docker-0.8.0
1818
19- # install latest pip
20- RUN wget -q https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py && \
21- python get-pip.py && \
22- rm get-pip.py
19+ # install recent pip
20+ RUN wget -qO- https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py | python -
21+
2322# install hook dependencies
2423RUN pip install pyyaml requests
2524
Original file line number Diff line number Diff line change @@ -24,10 +24,9 @@ echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/dock
2424apt-get update
2525apt-get upgrade -yq
2626
27- # install latest pip
28- wget -q https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py && \
29- python get-pip.py && \
30- rm get-pip.py
27+ # install recent pip
28+ wget -qO- https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py | python -
29+
3130# install required packages
3231apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make -yq
3332
Original file line number Diff line number Diff line change @@ -24,10 +24,9 @@ echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/dock
2424apt-get update
2525apt-get upgrade -yq
2626
27- # install latest pip
28- wget -q https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py && \
29- python get-pip.py && \
30- rm get-pip.py
27+ # install recent pip
28+ wget -qO- https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py | python -
29+
3130# install required packages
3231apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make -yq
3332
Original file line number Diff line number Diff line change @@ -29,10 +29,9 @@ echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/dock
2929apt-get update
3030apt-get dist-upgrade -yq
3131
32- # install latest pip
33- wget -q https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py && \
34- python get-pip.py && \
35- rm get-pip.py
32+ # install recent pip
33+ wget -qO- https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py | python -
34+
3635# install required packages
3736apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make -yq
3837
Original file line number Diff line number Diff line change @@ -29,10 +29,9 @@ echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/dock
2929apt-get update
3030apt-get dist-upgrade -yq
3131
32- # install latest pip
33- wget -q https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py && \
34- python get-pip.py && \
35- rm get-pip.py
32+ # install recent pip
33+ wget -qO- https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py | python -
34+
3635# install required packages
3736apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make -yq
3837
Original file line number Diff line number Diff line change @@ -30,10 +30,9 @@ echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/dock
3030apt-get update
3131apt-get dist-upgrade -yq
3232
33- # install latest pip
34- wget -q https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py && \
35- python get-pip.py && \
36- rm get-pip.py
33+ # install recent pip
34+ wget -qO- https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py | python -
35+
3736# install required packages
3837apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make -yq
3938
Original file line number Diff line number Diff line change @@ -31,10 +31,9 @@ echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/dock
3131apt-get update
3232apt-get dist-upgrade -yq
3333
34- # install latest pip
35- wget -q https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py && \
36- python get-pip.py && \
37- rm get-pip.py
34+ # install recent pip
35+ wget -qO- https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py | python -
36+
3837# install required packages
3938apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make -yq
4039
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN apt-get update && \
99RUN apt-get install -yq ruby1.9.1 rubygems
1010RUN gem install --no-ri --no-rdoc chef
1111
12- # install latest pip
12+ # install recent pip
1313RUN wget -qO- https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py | python -
1414
1515# install requirements before ADD to cache layer and speed build
Original file line number Diff line number Diff line change @@ -5,10 +5,9 @@ MAINTAINER Gabriel Monroy <gabriel@opdemand.com>
55RUN sed -i 's/main$/main universe/' /etc/apt/sources.list && apt-get update
66RUN apt-get install -y git-core build-essential python-dev \
77 libevent-dev python-openssl liblzma-dev wget
8- # install latest pip
9- RUN wget -q https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py && \
10- python get-pip.py && \
11- rm get-pip.py
8+
9+ # install recent pip
10+ RUN wget -qO- https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py | python -
1211
1312# create a registry user
1413RUN useradd -s /bin/bash registry
You can’t perform that action at this time.
0 commit comments