[ci skip] ensure we follow redirects and use ssl when grabbing the docker gpg key

Also install curl when running `vagrant up dokku-deb`
This commit is contained in:
Jose Diaz-Gonzalez
2015-05-12 15:47:12 -04:00
parent fc466e2c05
commit 75180f7f9b
3 changed files with 5 additions and 5 deletions

4
deb.mk
View File

@@ -31,10 +31,10 @@ GOPATH = /home/vagrant/gocode
install-from-deb:
echo "--> Initial apt-get update"
sudo apt-get update > /dev/null
sudo apt-get install -y apt-transport-https
sudo apt-get install -y apt-transport-https curl
echo "--> Installing docker gpg key"
curl --silent https://get.docker.com/gpg 2> /dev/null | apt-key add - 2>&1 >/dev/null
curl -sSL https://get.docker.com/gpg | apt-key add -
echo "--> Installing dokku gpg key"
curl --silent https://packagecloud.io/gpg.key 2> /dev/null | apt-key add - 2>&1 >/dev/null