From 4634bf68b2a09c2f86dc9c279cae664685f2bbfd Mon Sep 17 00:00:00 2001 From: unclejack Date: Thu, 20 Jun 2013 21:10:08 +0300 Subject: [PATCH 1/2] install kernel & python-software-properties separately The bootstrap script was installing software-properties-common. The package which contains add-apt-repository is: python-software-properties $ apt-file search add-apt-repository python-software-properties: /usr/bin/add-apt-repository The kernel failed to install for me in vagrant, so that step should be done separately to not break the install. The system might already have a kernel which is fully docker compatible. --- bootstrap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 8dfeb81bc..598336b61 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,7 +1,8 @@ DOKKU_REPO=${DOKKU_REPO:-"https://github.com/progrium/dokku.git"} DOKKU_STACK=${DOKKU_STACK:-"https://s3.amazonaws.com/progrium-dokku/progrium_buildstep.tgz"} -apt-get install -y linux-image-extra-`uname -r` software-properties-common +apt-get install -y linux-image-extra-`uname -r` +apt-get install -y python-software-properties add-apt-repository -y ppa:dotcloud/lxc-docker apt-get update && apt-get install -y lxc-docker git ruby nginx make dnsutils From c8baad638ee4959fd69477538d2f16168a86646b Mon Sep 17 00:00:00 2001 From: unclejack Date: Fri, 21 Jun 2013 10:44:23 +0300 Subject: [PATCH 2/2] add curl to the list of packages to be installed --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 598336b61..bb99b7e7c 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -4,7 +4,7 @@ DOKKU_STACK=${DOKKU_STACK:-"https://s3.amazonaws.com/progrium-dokku/progrium_bui apt-get install -y linux-image-extra-`uname -r` apt-get install -y python-software-properties add-apt-repository -y ppa:dotcloud/lxc-docker -apt-get update && apt-get install -y lxc-docker git ruby nginx make dnsutils +apt-get update && apt-get install -y lxc-docker git ruby nginx make curl dnsutils cd ~ && git clone ${DOKKU_REPO} cd dokku && make install