gigiblender commented on code in PR #11470:
URL: https://github.com/apache/tvm/pull/11470#discussion_r888072613


##########
docker/install/ubuntu_install_zephyr.sh:
##########
@@ -38,10 +39,12 @@ sudo apt-key add kitware-archive-latest.asc
 
 echo deb https://apt.kitware.com/ubuntu/ bionic main\
      >> /etc/apt/sources.list.d/kitware.list
-sudo apt-get update
+sudo apt-get update --fix-missing

Review Comment:
   So if I understand correctly, reducing the image size (by removing the files 
under `/var/lib/apt/lists/`) and decreasing the image build times (and 
therefore CI times) by not running `apt-get update` each time is not 
achievable. Also, the recommendation is to run `apt-get update` and clear the 
cache on every docker layer where apt is used.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to