marcoabreu closed pull request #10510: [MXNET-311] Change the docker image for Installation
Guide Test - needs sudo
URL: https://github.com/apache/incubator-mxnet/pull/10510
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/tests/jenkins/run_test_installation_docs.sh b/tests/jenkins/run_test_installation_docs.sh
index 4b3e4490296..812317b5dd1 100755
--- a/tests/jenkins/run_test_installation_docs.sh
+++ b/tests/jenkins/run_test_installation_docs.sh
@@ -298,17 +298,20 @@ LINUX_PYTHON_GPU_END_LINENO=$(grep -n "END - Linux Python GPU Installation
Instr
set_instruction_set ${LINUX_PYTHON_GPU_START_LINENO} ${LINUX_PYTHON_GPU_END_LINENO}
+
+# mxnet/base-cuda9 is a simple Docker Image with 'nvidia/cuda:9.0-cudnn7-devel' and 'apt-get
install sudo'.
+
echo
echo "### Testing Virtualenv ###"
echo "${virtualenv_commands}"
echo
-nvidia-docker run --rm nvidia/cuda:9.0-cudnn7-devel bash -c "${virtualenv_commands}"
+nvidia-docker run --rm mxnet/base-cuda9 bash -c "${virtualenv_commands}"
echo
echo "### Testing Pip ###"
echo "${pip_commands}"
echo
-nvidia-docker run --rm nvidia/cuda:9.0-cudnn7-devel bash -c "${pip_commands}"
+nvidia-docker run --rm mxnet/base-cuda9 bash -c "${pip_commands}"
echo
echo "### Testing Docker ###"
@@ -320,4 +323,4 @@ echo
echo "### Testing Build From Source ###"
echo "${buildfromsource_commands}"
echo
-nvidia-docker run --rm nvidia/cuda:9.0-cudnn7-devel bash -c "${buildfromsource_commands}"
+nvidia-docker run --rm mxnet/base-cuda9 bash -c "${buildfromsource_commands}"
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
|