jpetazzo / squid-in-a-can

361 stars 78 forks source link

pip installs not cached #19

Closed derrend closed 8 years ago

derrend commented 8 years ago

Hi, love this docker container, definitely saved me lots of bandwidth during my development but unfortunately when the requirements.txt file is executed during builds 'pip' installs do not seem to be cached. Please can someone let me know if it is possible to enable this? Many thanks :)

jfroche commented 8 years ago

pip install uses https://pypi.python.org/simple by default. https support is explained in the README. We use a pypi mirror (using devpi) in our private network for this (which act as a local cache and our private egg registry).