mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
Install docker from dotCloud's new repository
This commit is contained in:
3
Makefile
3
Makefile
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user