Skip to content

Commit bf3a57d

Browse files
author
Gabriel Monroy
committed
switch to docker 0.7.1 and pull progrium/cedarish docker image
1 parent ac26eb7 commit bf3a57d

3 files changed

Lines changed: 27 additions & 25 deletions

File tree

contrib/ec2/prepare-ubuntu-ami.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ apt-get update
3939
apt-get dist-upgrade -yq
4040

4141
# install required packages
42-
apt-get install lxc-docker-0.6.4 curl git make python-setuptools python-pip -yq
43-
44-
# create buildstep docker image
45-
git clone -b deis https://github.com/opdemand/buildstep.git
46-
cd buildstep
47-
git checkout deis
48-
make
49-
cd ..
50-
rm -rf buildstep
42+
apt-get install lxc-docker-0.7.1 curl git make python-setuptools python-pip -yq
43+
44+
# wait for docker to start
45+
while [ ! -e /var/run/docker.sock ] ; do
46+
inotifywait -t 2 -e create $(dirname /var/run/docker.sock)
47+
done
48+
49+
# pull progrium/cedarish docker image
50+
docker pull progrium/cedarish
5151

5252
# install chef 11.x deps
5353
apt-get install -yq ruby1.9.1 ruby1.9.1-dev make

contrib/rackspace/prepare-rackspace-image.sh

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,15 @@ apt-get update
4040
apt-get dist-upgrade -yq
4141

4242
# install required packages
43-
apt-get install lxc-docker-0.6.4 curl git make python-setuptools python-pip -yq
44-
45-
# create buildstep docker image
46-
git clone -b deis https://github.com/opdemand/buildstep.git
47-
cd buildstep
48-
make
49-
cd ..
50-
rm -rf buildstep
43+
apt-get install lxc-docker-0.7.1 curl git make python-setuptools python-pip -yq
44+
45+
# wait for docker to start
46+
while [ ! -e /var/run/docker.sock ] ; do
47+
inotifywait -t 2 -e create $(dirname /var/run/docker.sock)
48+
done
49+
50+
# pull progrium/cedarish docker image
51+
docker pull progrium/cedarish
5152

5253
# install chef 11.x deps
5354
apt-get install -yq ruby1.9.1 ruby1.9.1-dev make

contrib/vagrant/prepare-ubuntu-box.sh

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,15 @@ apt-get update
4242
apt-get dist-upgrade -yq
4343

4444
# install required packages
45-
apt-get install lxc-docker-0.6.4 git make python-setuptools python-pip -yq
46-
47-
# create buildstep docker image
48-
git clone -b deis https://github.com/opdemand/buildstep.git
49-
cd buildstep
50-
make
51-
cd ..
52-
rm -rf buildstep
45+
apt-get install lxc-docker-0.7.1 git make python-setuptools python-pip -yq
46+
47+
# wait for docker to start
48+
while [ ! -e /var/run/docker.sock ] ; do
49+
inotifywait -t 2 -e create $(dirname /var/run/docker.sock)
50+
done
51+
52+
# pull progrium/cedarish docker image
53+
docker pull progrium/cedarish
5354

5455
# install chef 11.x deps
5556
apt-get install -yq ruby1.9.1 ruby1.9.1-dev make

0 commit comments

Comments
 (0)