From 4634bf68b2a09c2f86dc9c279cae664685f2bbfd Mon Sep 17 00:00:00 2001 From: unclejack Date: Thu, 20 Jun 2013 21:10:08 +0300 Subject: [PATCH] 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