Skip to content

Commit

Permalink
Inline the test.docker.io fingerprint in the install.sh script as well
Browse files Browse the repository at this point in the history
As long as we're doing it, we ought to do it for all the "official" Docker properties at least

Docker-DCO-1.1-Signed-off-by: Andrew Page <[email protected]> (github: tianon)
  • Loading branch information
tianon committed Jan 10, 2014
1 parent 7985125 commit 051e7a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hack/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ case "$lsb_dist" in
set -x
if [ "https://get.docker.io/" = "$url" ]; then
$sh_c "apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9"
elif [ "https://test.docker.io/" = "$url" ]; then
$sh_c "apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 740B314AE3941731B942C66ADF4FD13717AAD7D6"
else
$sh_c "$curl ${url}gpg | apt-key add -"
fi
Expand Down

0 comments on commit 051e7a0

Please sign in to comment.