download builstep container (aka the stack) by default. it will be fast now
This commit is contained in:
@@ -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
|
||||
|
||||
Submodule buildstep updated: 8d80c3b75f...f61baf0c66
Reference in New Issue
Block a user