potiuk commented on a change in pull request #16170:
URL: https://github.com/apache/airflow/pull/16170#discussion_r642137847
##########
File path: scripts/in_container/prod/entrypoint_prod.sh
##########
@@ -311,6 +311,10 @@ if [[ -n "${_AIRFLOW_WWW_USER_CREATE=}" ]] ; then
create_www_user
fi
+if [[ -n "${_PIP_ADDITIONAL_REQUIREMENTS=}" ]] ; then
+ pip install --no-cache-dir --user "${_PIP_ADDITIONAL_REQUIREMENTS=}"
Review comment:
```suggestion
echo "!!! WARNING !!! installing requirements with
_PIP_ADDITIONAL_REQUIREMENTS is for testing only!!!!"
echo
echo "Installing dependencies this way has serious performance
implications"
echo
echo "For production usage make sure to add dependencies to your image"
echo
pip install --no-cache-dir --user "${_PIP_ADDITIONAL_REQUIREMENTS=}"
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]