You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/12/22 05:59:44 UTC

[GitHub] [airflow] uranusjr commented on a diff in pull request #28520: Set pip install opts in _PIP_ADDITIONAL_REQUIREMENTS

uranusjr commented on code in PR #28520:
URL: https://github.com/apache/airflow/pull/28520#discussion_r1055117960


##########
Dockerfile:
##########
@@ -991,7 +991,9 @@ if [[ -n "${_PIP_ADDITIONAL_REQUIREMENTS=}" ]] ; then
     >&2 echo "         the container starts, so it is onlny useful for testing and trying out"
     >&2 echo "         of adding dependencies."
     >&2 echo
-    pip install --root-user-action ignore --no-cache-dir ${_PIP_ADDITIONAL_REQUIREMENTS}
+    pip install --root-user-action ignore --no-cache-dir \
+        ${ADDITIONAL_PIP_INSTALL_FLAGS} \
+        ${_PIP_ADDITIONAL_REQUIREMENTS}

Review Comment:
   If we’re separating the two I wonder if it’s a good idea to disallow options in `_PIP_ADDITIONAL_REQUIREMENTS` by adding a `--` before it.



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org