Add --no-install-recommends

Was running into an issue where Ubuntu 17.10 artful installations were
hanging due to aufs-tools trying to upgrade the kernel and install grub.

Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
This commit is contained in:
Eli Uriegas committed 2017-10-24 13:28:58 -07:00
1 parent 8029a2f593
commit ab5553e302
1 file changed
+1 -1
+1 -1
View File
@@ -379,7 +379,7 @@ do_install() {
$sh_c 'sed -i "/deb-src.*download\.docker/d" /etc/apt/sources.list.d/docker.list'
fi
$sh_c 'apt-get update -qq >/dev/null'
$sh_c 'apt-get install -y -qq docker-ce >/dev/null'
$sh_c 'apt-get install -y -qq --no-install-recommends docker-ce >/dev/null'
)
echo_docker_as_nonroot
exit 0