Merge pull request #2847 from plotly/add-ppa-before-apt
Add nginx ppa before installing Dokku
This commit is contained in:
commit
ee27ea76a6
1 file changed
+5
@@ -122,6 +122,11 @@ install-dokku-from-deb-package() {
|
|||||||
fi
|
fi
|
||||||
wget -nv -O - https://get.docker.com/ | sh
|
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"
|
echo "--> Installing dokku"
|
||||||
wget -nv -O - https://packagecloud.io/gpg.key | apt-key add -
|
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
|
echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main" | tee /etc/apt/sources.list.d/dokku.list
|
||||||
|
|||||||
Reference in new issue
Block a user