File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,15 +39,15 @@ apt-get update
3939apt-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
5353apt-get install -yq ruby1.9.1 ruby1.9.1-dev make
Original file line number Diff line number Diff line change @@ -40,14 +40,15 @@ apt-get update
4040apt-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
5354apt-get install -yq ruby1.9.1 ruby1.9.1-dev make
Original file line number Diff line number Diff line change @@ -42,14 +42,15 @@ apt-get update
4242apt-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
5556apt-get install -yq ruby1.9.1 ruby1.9.1-dev make
You can’t perform that action at this time.
0 commit comments