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/03 23:18:41 UTC

[GitHub] [tvm] areusch opened a new issue #9825: [Bug] Remove apt cache after apt-get

areusch opened a new issue #9825:
URL: https://github.com/apache/tvm/issues/9825


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


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



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

Posted by GitBox <gi...@apache.org>.
areusch commented on issue #9825:
URL: https://github.com/apache/tvm/issues/9825#issuecomment-1021625025


   maybe we should just write an apt wrapper that handles this and only apt-get update one per CI image build?


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



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

Posted by GitBox <gi...@apache.org>.
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