<#1927 Do not cache packages in images> Pull reque...
# flyte-github
a
#1927 Do not cache packages in images Pull request opened by eapolinario TL;DR Disable caching of packages in images Type ☐ Bug Fix ☑︎ Feature ☐ Plugin Are all requirements met? ☐ Code completed ☐ Smoke tested ☐ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description Pass the
--no-cache-dir
flag in invocation of
pip install
in dockerfiles. This will have a bigger impact in the agent image, since currently we are using about ~800MB:
Copy code
 docker run --rm -it ghcr.io/flyteorg/flyteagent:1.10.0 du -kh --max-depth=1 /root/.cache
813M    /root/.cache/pip
813M    /root/.cache
Tracking Issue https://github.com/flyteorg/flyte/issues/ Follow-up issue NA OR https://github.com/flyteorg/flyte/issues/ flyteorg/flytekit ✅ All checks have passed 30/30 successful checks