This PR disables the pip cache when installing requirements. This is a common practice when installing packages on Docker images, as it helps reduce images size. In the case of reana-workflow-engine-snakemake, the resulting image shrink from 278 MBs to 230 MBs, ~48 MBs in total.
This PR disables the pip cache when installing requirements. This is a common practice when installing packages on Docker images, as it helps reduce images size. In the case of
reana-workflow-engine-snakemake
, the resulting image shrink from278
MBs to230
MBs, ~48 MBs in total.This optimization comes from discussion on https://github.com/reanahub/reana-server/pull/396