mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
On a clean Ubuntu 13.04 install, the bootstrap script fails with: make: apt-add-repository: Command not found make: *** [docker] Error 127 This happens because 'software-properties-common' needs to be installed.
15 lines
473 B
Bash
15 lines
473 B
Bash
set -e
|
|
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
|
|
|
|
cd ~ && test -d dokku || git clone $DOKKU_REPO
|
|
cd dokku && test $DOKKU_BRANCH && git checkout origin/$DOKKU_BRANCH || true
|
|
make all
|
|
|
|
echo
|
|
echo "Be sure to upload a public key for your user:"
|
|
echo " cat ~/.ssh/id_rsa.pub | ssh root@$HOSTNAME \"gitreceive upload-key progrium\""
|