Skip to content

Commit b5440da

Browse files
committed
Install latest pip.
1 parent 44eab43 commit b5440da

9 files changed

Lines changed: 43 additions & 9 deletions

File tree

builder/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F9
1616
RUN apt-get update -q
1717
RUN 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
2124
RUN pip install pyyaml requests
2225

2326
# install hook utilities

contrib/digitalocean/prepare-controller-image.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/dock
2424
apt-get update
2525
apt-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
3135
while [ ! -e /var/run/docker.sock ] ; do

contrib/digitalocean/prepare-node-image.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/dock
2424
apt-get update
2525
apt-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
3135
while [ ! -e /var/run/docker.sock ] ; do

contrib/ec2/prepare-controller-ami.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/dock
2929
apt-get update
3030
apt-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
3640
while [ ! -e /var/run/docker.sock ] ; do

contrib/ec2/prepare-node-ami.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/dock
2929
apt-get update
3030
apt-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
3640
while [ ! -e /var/run/docker.sock ] ; do

contrib/rackspace/prepare-node-image.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@ echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/dock
3030
apt-get update
3131
apt-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
3741
while [ ! -e /var/run/docker.sock ] ; do

contrib/vagrant/prepare-ubuntu-box.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@ echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/dock
3131
apt-get update
3232
apt-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
3842
while [ ! -e /var/run/docker.sock ] ; do

controller/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ MAINTAINER Gabriel A. Monroy <gabriel@opdemand.com>
33

44
# install required system packages
55
RUN 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
913
RUN apt-get install -yq ruby1.9.1 rubygems

registry/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ MAINTAINER Gabriel Monroy <gabriel@opdemand.com>
55
RUN sed -i 's/main$/main universe/' /etc/apt/sources.list && apt-get update
66
RUN 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
1114
RUN useradd -s /bin/bash registry

0 commit comments

Comments
 (0)