Install docker from dotCloud's new repository

This commit is contained in:
rhy-jot
2013-08-23 17:58:07 -07:00
parent 774b1f3c45
commit fbf2b28512
2 changed files with 3 additions and 2 deletions

View File

@@ -34,7 +34,8 @@ docker: aufs
egrep -i "^docker" /etc/group || groupadd docker
usermod -aG docker git
usermod -aG docker dokku
apt-add-repository -y ppa:dotcloud/lxc-docker
curl https://get.docker.io/gpg | apt-key add -
echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list
apt-get update
apt-get install -y lxc-docker
sleep 2 # give docker a moment i guess

View File

@@ -3,7 +3,7 @@ export DEBIAN_FRONTEND=noninteractive
export DOKKU_REPO=${DOKKU_REPO:-"https://github.com/progrium/dokku.git"}
apt-get update
apt-get install -y git make curl software-properties-common
apt-get install -y git make curl
cd ~ && test -d dokku || git clone $DOKKU_REPO
cd dokku && test $DOKKU_BRANCH && git checkout origin/$DOKKU_BRANCH || true