From 0d3aa67255060d8b34bef48212fc9f402dc11c72 Mon Sep 17 00:00:00 2001 From: Chaitanya Prakash Bapat Date: Tue, 14 Apr 2020 10:23:18 -0700 Subject: [PATCH] Workaround gnu_tls handshake error on Ubuntu 14.04 Nvidia Docker (#18044) Backport of #18018 --- ci/docker/install/ubuntu_publish.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci/docker/install/ubuntu_publish.sh b/ci/docker/install/ubuntu_publish.sh index 5b13e1306fbd..4690a2c3dfad 100755 --- a/ci/docker/install/ubuntu_publish.sh +++ b/ci/docker/install/ubuntu_publish.sh @@ -20,6 +20,10 @@ # Build on Ubuntu 14.04 LTS for LINUX CPU/GPU set -ex +# replace https with http to force apt-get update to use http +# nvidia-docker no longer supports ubuntu 14.04 +# refer https://github.com/apache/incubator-mxnet/issues/18005 +sudo sed -i 's/https/http/g' /etc/apt/sources.list.d/*.list apt-get update apt-get install -y software-properties-common add-apt-repository ppa:ubuntu-toolchain-r/test -y