mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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:
parent
7d8bf5d177
commit
a704d06d58
1 changed files with 1 additions and 1 deletions
|
@ -482,7 +482,7 @@ do_install() {
|
||||||
|
|
||||||
(
|
(
|
||||||
set -x
|
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 "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 "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'
|
$sh_c 'sleep 3; apt-get update; apt-get install -y -q docker-engine'
|
||||||
|
|
Loading…
Reference in a new issue