Skip to content

Commit

Permalink
travis: change how docker gpg key is downloaded (spotify#865)
Browse files Browse the repository at this point in the history
Requests to p80.pool.sks-keyservers.net are timing out in recent travis
builds. Use the ubuntu key server.
  • Loading branch information
davidxia authored and mattnworb committed Aug 9, 2017
1 parent aa1a3b4 commit a82fc23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ case "$1" in
sudo rm -fr /var/lib/docker || :

# As instructed on http://docs.master.dockerproject.org/engine/installation/linux/ubuntulinux/
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo sh -c "echo deb https://apt.dockerproject.org/repo ubuntu-trusty main > /etc/apt/sources.list.d/docker.list"
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

Expand Down

0 comments on commit a82fc23

Please sign in to comment.