What is pip's `--no-cache-dir` good for?

后端 未结 5 675
清酒与你
清酒与你 2021-01-30 07:55

I\'ve recently seen the --no-cache-dir being used in a Docker file. I\'ve never seen that flag before and the help is not explaining it:

 --no-cache         


        
5条回答
  •  悲哀的现实
    2021-01-30 08:22

    Reduce your docker image size if you're having python dependencies in your DockerFile, as your private registries/artifactories or your deployment servcies may have size limitation.

提交回复
热议问题