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,8 +16,11 @@ 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/master/contrib/get-pip.py && \
21+ python get-pip.py && \
22+ rm get-pip.py
1923# install hook dependencies
20- RUN apt-get install -yq python-pip
2124RUN pip install pyyaml requests
2225
2326# install hook utilities
Original file line number Diff line number Diff line change @@ -24,8 +24,12 @@ 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/master/contrib/get-pip.py && \
29+ python get-pip.py && \
30+ rm get-pip.py
2731# install required packages
28- apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make python-setuptools python-pip -yq
32+ apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make -yq
2933
3034# wait for docker to start
3135while [ ! -e /var/run/docker.sock ] ; do
Original file line number Diff line number Diff line change @@ -24,8 +24,12 @@ 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/master/contrib/get-pip.py && \
29+ python get-pip.py && \
30+ rm get-pip.py
2731# install required packages
28- apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make python-setuptools python-pip -yq
32+ apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make -yq
2933
3034# wait for docker to start
3135while [ ! -e /var/run/docker.sock ] ; do
Original file line number Diff line number Diff line change @@ -29,8 +29,12 @@ 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/master/contrib/get-pip.py && \
34+ python get-pip.py && \
35+ rm get-pip.py
3236# install required packages
33- apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make python-setuptools python-pip -yq
37+ apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make -yq
3438
3539# wait for docker to start
3640while [ ! -e /var/run/docker.sock ] ; do
Original file line number Diff line number Diff line change @@ -29,8 +29,12 @@ 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/master/contrib/get-pip.py && \
34+ python get-pip.py && \
35+ rm get-pip.py
3236# install required packages
33- apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make python-setuptools python-pip -yq
37+ apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make -yq
3438
3539# wait for docker to start
3640while [ ! -e /var/run/docker.sock ] ; do
Original file line number Diff line number Diff line change @@ -30,8 +30,12 @@ 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/master/contrib/get-pip.py && \
35+ python get-pip.py && \
36+ rm get-pip.py
3337# install required packages
34- apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make python-setuptools python-pip -yq
38+ apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make -yq
3539
3640# wait for docker to start
3741while [ ! -e /var/run/docker.sock ] ; do
Original file line number Diff line number Diff line change @@ -31,8 +31,12 @@ 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/master/contrib/get-pip.py && \
36+ python get-pip.py && \
37+ rm get-pip.py
3438# install required packages
35- apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make python-setuptools python-pip -yq
39+ apt-get install lxc-docker-0.8.0 fail2ban curl git inotify-tools make -yq
3640
3741# wait for docker to start
3842while [ ! -e /var/run/docker.sock ] ; do
Original file line number Diff line number Diff line change @@ -3,7 +3,11 @@ MAINTAINER Gabriel A. Monroy <gabriel@opdemand.com>
33
44# install required system packages
55RUN apt-get update
6- RUN apt-get install -yq python-pip python-dev libpq-dev
6+ RUN apt-get install -yq python-dev libpq-dev
7+ # install latest pip
8+ RUN wget -q https://raw.github.com/pypa/pip/master/contrib/get-pip.py && \
9+ python get-pip.py && \
10+ rm get-pip.py
711
812# install chef
913RUN apt-get install -yq ruby1.9.1 rubygems
Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ 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- RUN apt-get install -yq python-pip
8+ # install latest pip
9+ RUN wget -q https://raw.github.com/pypa/pip/master/contrib/get-pip.py && \
10+ python get-pip.py && \
11+ rm get-pip.py
912
1013# create a registry user
1114RUN useradd -s /bin/bash registry
You can’t perform that action at this time.
0 commit comments