You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/07/28 17:15:47 UTC
[GitHub] [tvm] leandron commented on a change in pull request #8575: [CI] Disable pip cache when creating Docker images
leandron commented on a change in pull request #8575:
URL: https://github.com/apache/tvm/pull/8575#discussion_r678501735
##########
File path: docker/Dockerfile.ci_arm
##########
@@ -23,6 +23,9 @@ FROM ubuntu:18.04
RUN apt-get update --fix-missing
RUN apt-get install -y ca-certificates gnupg2
+# Globally disable pip cache
+RUN pip config set global.cache-dir false
Review comment:
I tried it locally and it seems to work to set the global config and preventing the cache to be created.
When using it in an individual `pip install —no-cache-dir foo` it seems to be the way to disable in one instance, but I decided not going this way, because there is always a new pip install in those scripts.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org