From 9409fc2ef01f6c4908a409be8d25275f0540ccdc Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 20 Aug 2015 20:20:41 -0400 Subject: [PATCH] Install apt-transport-https before adding https-backed apt sources Refs #1219 [ci skip] --- bootstrap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 3f2f8125e..39af17b1b 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -45,11 +45,13 @@ dokku_install_package() { curl -sSL https://get.docker.io/gpg | apt-key add - curl -sSL https://packagecloud.io/gpg.key | apt-key add - + apt-get update > /dev/null + apt-get install -qq -y "linux-image-extra-$(uname -r)" apt-transport-https + echo "deb https://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list echo "deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main" > /etc/apt/sources.list.d/dokku.list apt-get update > /dev/null - apt-get install -qq -y "linux-image-extra-$(uname -r)" apt-transport-https if [[ -n $DOKKU_CHECKOUT ]]; then apt-get install -qq -y dokku=$DOKKU_CHECKOUT