From 1da912412d0eaa8aa03042d7f74b25c31c4d0f75 Mon Sep 17 00:00:00 2001 From: Chaitanya Prakash Bapat Date: Sat, 11 Apr 2020 14:57:07 -0700 Subject: [PATCH] Workaround gnu_tls handshake error on Ubuntu 14.04 Nvidia Docker (#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