Created
July 24, 2019 14:06
-
-
Save akluth/683838bc5b2a992d3ddb452204c5c5df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install prerequisites | |
sudo apt-get update -qq >/dev/null | |
sudo apt-get install -qq -y apt-transport-https | |
# install docker | |
wget -nv -O - https://get.docker.com/ | sh | |
# install dokku | |
wget -nv -O - https://packagecloud.io/dokku/dokku/gpgkey | apt-key add - | |
OS_ID="$(lsb_release -cs 2>/dev/null || echo "trusty")" | |
echo "trusty utopic vivid wily xenial yakkety zesty artful bionic" | grep -q "$OS_ID" || OS_ID="trusty" | |
echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ ${OS_ID} main" | sudo tee /etc/apt/sources.list.d/dokku.list | |
sudo apt-get update -qq >/dev/null | |
sudo apt-get install -qq -y dokku | |
sudo dokku plugin:install-dependencies --core |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment