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 2022/01/06 10:11:34 UTC

[GitHub] [tvm] leandron commented on issue #9825: [Bug] Remove apt cache after apt-get

leandron commented on issue #9825:
URL: https://github.com/apache/tvm/issues/9825#issuecomment-1006439758


   > Per [#9060 (comment)](https://github.com/apache/tvm/pull/9060#discussion_r746330230), [best practice](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run) for `apt-get install` in docker is to `rm -rf /var/lib/apt/lists/*` after installation. we should change all docker apt-get command to do this.
   
   Also it is implied by this change that all our `docker/install/*.sh` files should not assume there is an apt cache, and therefore, they should all `apt-get update` prior to installing any package.


-- 
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