Created
July 24, 2019 14:06
-
-
Save akluth/683838bc5b2a992d3ddb452204c5c5df to your computer and use it in GitHub Desktop.
Revisions
-
Alexander Kluth created this gist
Jul 24, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ # 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