summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorPratik raj <rajpratik71@gmail.com>2020-12-30 22:52:18 +0530
committerPratik raj <rajpratik71@gmail.com>2020-12-30 22:52:18 +0530
commit1e667fede760ec71288f1251c2b2fd8cd7e3e19e (patch)
tree8ef6187901cbeec6a289979e7b34cd123e86224d /pom.xml
parent4ecc0b9bd5892f80c86cb9415c58213121eb425d (diff)
[docker] use `--no-cache-dir` flag to `pip` in dockerfiles to save space
using "--no-cache-dir" flag in pip install ,make sure downloaded packages by pip don't cached on system . This is a best practice which make sure to fetch from repo instead of using local cached one . Further , in case of Docker Containers , by restricting caching , we can reduce image size. In term of stats , it depends upon the number of python packages multiplied by their respective size . e.g for heavy packages with a lot of dependencies it reduce a lot by don't caching pip packages. Further , more detail information can be found at https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6 Issue-ID: CCSDK-3071 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: I9c957bda7fbcf631ce9be65bd5bcc41d2c9ada48
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions