diff --git a/hack/install.sh b/hack/install.sh index 15ac49f1f7..1a5165d40f 100644 --- a/hack/install.sh +++ b/hack/install.sh @@ -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'