download builstep container (aka the stack) by default. it will be fast now

This commit is contained in:
Jeff Lindsay
2013-06-17 19:55:45 -07:00
parent 3e62268b98
commit a2ee3d09b1
2 changed files with 7 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
DOKKU_REPO=${DOKKU_REPO:-"https://github.com/progrium/dokku.git"}
DOKKU_STACK=${DOKKU_STACK:-"http://s3.amazonaws.com/progrium-dokku/progrium_buildstep.tgz"}
apt-get install -y linux-image-extra-`uname -r` software-properties-common
add-apt-repository -y ppa:dotcloud/lxc-docker
@@ -6,7 +7,11 @@ apt-get update && apt-get install -y lxc-docker git ruby nginx make
cd ~ && git clone ${DOKKU_REPO}
cd dokku && make install
cd buildstep && make build
if [[ $DOKKU_STACK ]]; then
curl "$DOKKU_STACK" | gunzip -cd | docker import - progrium/buildstep
else
cd buildstep && make build
fi
/etc/init.d/nginx start
start nginx-reloader