This is an automated email from the ASF dual-hosted git repository.
lausen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new a1fa6a8 Workaround gnu_tls handshake error on Ubuntu 14.04 Nvidia
Docker (#18018)
a1fa6a8 is described below
commit a1fa6a87a12b477d70c853200140684f821e4056
Author: Chaitanya Prakash Bapat <[email protected]>
AuthorDate: Sat Apr 11 14:57:07 2020 -0700
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 5b13e13..4690a2c 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