瀏覽代碼

Merge pull request #3551 from tianon/test-docker-io-gpg-fingerprint

Inline the test.docker.io fingerprint in the install.sh script as well
Tianon Gravi 11 年之前
父節點
當前提交
7273b33e86
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      hack/install.sh

+ 2 - 0
hack/install.sh

@@ -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