Add nginx ppa before installing Dokku

Fixes #2845
This commit is contained in:
Jody McIntyre
2017-07-21 15:41:33 -04:00
parent 2169fb3859
commit 4497a54b12

View File

@@ -122,6 +122,11 @@ install-dokku-from-deb-package() {
fi
wget -nv -O - https://get.docker.com/ | sh
if [[ "$DOKKU_DISTRO_VERSION" == "14.04" ]]; then
echo "--> Adding nginx PPA"
add-apt-repository -y ppa:nginx/stable
fi
echo "--> Installing dokku"
wget -nv -O - https://packagecloud.io/gpg.key | apt-key add -
echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main" | tee /etc/apt/sources.list.d/dokku.list