mirror of
https://github.com/docker/docker-install.git
synced 2026-11-20 10:03:11 +03:00
From docker/docker - install: fix debian stretch
Apparently, Debian stretch does not come with gpg installed by default. This patch ensures that gpg is installed. Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
1 parent
4ff4ccc823
commit
f85ee8bfe1
1 file changed
+5
@@ -440,6 +440,11 @@ do_install() {
|
||||
( set -x; $sh_c 'sleep 3; apt-get install -y -q curl ca-certificates' )
|
||||
curl='curl -sSL'
|
||||
fi
|
||||
if [ ! -e /usr/bin/gpg ]; then
|
||||
apt_get_update
|
||||
( set -x; $sh_c 'sleep 3; apt-get install -y -q gnupg2 || apt-get install -y -q gnupg' )
|
||||
fi
|
||||
|
||||
(
|
||||
set -x
|
||||
for key_server in $key_servers ; do
|
||||
|
||||
Reference in new issue
Block a user