V0lantis commented on PR #35026: URL: https://github.com/apache/airflow/pull/35026#issuecomment-1786974465
Hey ! I came up with a better solution in 65318caa011f995555d05a6a04f1b51bbe631ae1: I am passing pip cache directory directly to [an env variable](https://github.com/apache/airflow/blob/65318caa011f995555d05a6a04f1b51bbe631ae1/Dockerfile#L1205) (`PIP_CACHE_DIR=/tmp/.cache/pip`). This allow to avoid passing the following arg: `--cache-dir=/tmp/.cache/pip` to every `pip install` command : I could forget one and loose the potential of caching whereas with the globa `ENV` definition, no forgetting 😲 . I tested it and it seems to be working fine. Wdyt guys? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
