Merge pull request #3380 from dokku/3269-stable-docker

Install stable docker when using bootstrap script
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2019-01-07 06:41:14 -05:00
commit 1a36c77c46
1 file changed
+10 -7
+10 -7
View File
@@ -138,14 +138,17 @@ install-dokku-from-deb-package() {
apt-get update -qq >/dev/null apt-get update -qq >/dev/null
apt-get -qq -y install apt-transport-https apt-get -qq -y install apt-transport-https
echo "--> Installing docker" if ! command -v docker &>/dev/null; then
if uname -r | grep -q linode; then echo "--> Installing docker"
echo "--> NOTE: Using Linode? Docker may complain about missing AUFS support." if uname -r | grep -q linode; then
echo " You can safely ignore this warning." echo "--> NOTE: Using Linode? Docker may complain about missing AUFS support."
echo " Installation will continue in 10 seconds." echo " You can safely ignore this warning."
sleep 10 echo " Installation will continue in 10 seconds."
sleep 10
fi
export CHANNEL=stable
wget -nv -O - https://get.docker.com/ | sh
fi fi
wget -nv -O - https://get.docker.com/ | sh
if [[ "$DOKKU_DISTRO_VERSION" == "14.04" ]]; then if [[ "$DOKKU_DISTRO_VERSION" == "14.04" ]]; then
echo "--> Adding nginx PPA" echo "--> Adding nginx PPA"