What is the best way to build docker images without constantly
re-downloading packages from PyPI (to use ~O(1) bandwidth instead of O(n)
for every build)

(AFAIK, nobody has any issue with the amount of bandwidth PyPI uses)

Thus far, Docker doesn't want to support a build-time -v option (that could
be used to bind-mount .pip/cache in at build time):

"build time only -v option"
https://github.com/moby/moby/issues/14080

Buildah *does* support a build-time -v option (and can also do rootless
builds without a docker socket)
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/IL6MGTSAA4X5UZDERCAAAFGGX5DGRPF3/

Reply via email to