[DOCKER] Use clear name that is separate from ASF brand for cache (#6360)
authorTianqi Chen <tqchen@users.noreply.github.com>
Sat, 29 Aug 2020 21:34:50 +0000 (14:34 -0700)
committerGitHub <noreply@github.com>
Sat, 29 Aug 2020 21:34:50 +0000 (14:34 -0700)
Jenkinsfile
docs/install/docker.rst

index 49e73ff..3ce5b60 100644 (file)
@@ -31,7 +31,7 @@
 //
 // - Send PR to upgrade build script in the repo
 // - Build the new docker image
-// - Tag the docker image with a new version and push to tvmai
+// - Tag the docker image with a new version and push to a binary cache.
 // - Update the version in the Jenkinsfile, send a PR
 // - Fix any issues wrt to the new image version in the PR
 // - Merge the PR and now we are in new version
 //
 
 // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. -->
-ci_lint = "tvmai/ci-lint:v0.61"
-ci_gpu = "tvmai/ci-gpu:v0.64"
-ci_cpu = "tvmai/ci-cpu:v0.65"
-ci_wasm = "tvmai/ci-wasm:v0.60"
-ci_i386 = "tvmai/ci-i386:v0.52"
+ci_lint = "tlcpack/ci-lint:v0.61"
+ci_gpu = "tlcpack/ci-gpu:v0.64"
+ci_cpu = "tlcpack/ci-cpu:v0.65"
+ci_wasm = "tlcpack/ci-wasm:v0.60"
+ci_i386 = "tlcpack/ci-i386:v0.52"
 // <--- End of regex-scanned config.
 
 // tvm libraries
@@ -288,13 +288,13 @@ stage('Integration Test') {
 stage('Build packages') {
   parallel 'conda CPU': {
     node('CPU') {
-      sh "${docker_run} tvmai/conda-cpu ./conda/build_cpu.sh
+      sh "${docker_run} tlcpack/conda-cpu ./conda/build_cpu.sh
     }
   },
   'conda cuda': {
     node('CPU') {
-      sh "${docker_run} tvmai/conda-cuda90 ./conda/build_cuda.sh
-      sh "${docker_run} tvmai/conda-cuda100 ./conda/build_cuda.sh
+      sh "${docker_run} tlcpack/conda-cuda90 ./conda/build_cuda.sh
+      sh "${docker_run} tlcpack/conda-cuda100 ./conda/build_cuda.sh
     }
   }
   // Here we could upload the packages to anaconda for releases
index f49c75e..e1e6570 100644 (file)
@@ -37,8 +37,7 @@ We can then use the following command to launch a docker image.
 
     /path/to/tvm/docker/bash.sh <image-name>
 
-Here the image-name can be a local docker image name, e.g. `tvm.ci_cpu` after you have done
-the local build. Or a pre-built third party image (`tvmai/demo-cpu` or `tvmai/ci-gpu`).
+Here the image-name can be a local docker image name, e.g. `tvm.ci_cpu` after you have done the local build.
 
 This auxiliary script does the following things:
 
@@ -65,10 +64,22 @@ Note that on macOS, because we use bridge network, jupyter notebook will be repo
 at an URL like ``http://{container_hostname}:8888/?token=...``. You should replace the ``container_hostname``
 with ``localhost`` when pasting it into browser.
 
-You can find some un-official prebuilt images in `<https://hub.docker.com/r/tvmai/>`_.
-Note that these are convenience images and are not part of the ASF release.
 
 Docker Source
 -------------
 Check out `The docker source <https://github.com/apache/incubator-tvm/tree/master/docker>`_ if you are interested in
 building your own docker images.
+
+
+Run the following command to build the docker image.
+
+.. code:: bash
+
+    /path/to/tvm/docker/build.sh <image-name>
+
+
+You can find some un-official thirdparty prebuilt images.
+These images are used for test purposes and are NOT of the ASF release.
+
+
+`<https://hub.docker.com/r/tlpack/>`_.