From docker/docker - Fix install.sh of get.docker.com for debian-sudo

repair sudo call on key-add for install / https://get.docker.com/

fix #32424

Signed-off-by: Tabakhase <github@tabakhase.com>
This commit is contained in:
Tabakhase authored and Eli Uriegas committed 2017-06-16 11:53:39 -07:00
1 parent 61ac0989b9
commit 67ca42d533
1 file changed
+1 -1
+1 -1
View File
@@ -482,7 +482,7 @@ do_install() {
(
set -x
echo "$docker_key" | apt-key add -
echo "$docker_key" | $sh_c 'apt-key add -'
$sh_c "mkdir -p /etc/apt/sources.list.d"
$sh_c "echo deb \[arch=$(dpkg --print-architecture)\] ${apt_url}/repo ${lsb_dist}-${dist_version} ${repo} > /etc/apt/sources.list.d/docker.list"
$sh_c 'sleep 3; apt-get update; apt-get install -y -q docker-engine'