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 2020/11/25 02:28:20 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #12604: Use AIRFLOW_CONSTRAINTS_LOCATION when passed during docker build

kaxil commented on a change in pull request #12604:
URL: https://github.com/apache/airflow/pull/12604#discussion_r530067509



##########
File path: Dockerfile
##########
@@ -176,7 +176,7 @@ RUN if [[ ${AIRFLOW_PRE_CACHED_PIP_PACKAGES} == "true" ]]; then \
        fi; \
        pip install --user \
           "https://github.com/${AIRFLOW_REPO}/archive/${AIRFLOW_BRANCH}.tar.gz#egg=apache-airflow[${AIRFLOW_EXTRAS}]" \
-          --constraint "https://raw.githubusercontent.com/apache/airflow/${AIRFLOW_CONSTRAINTS_REFERENCE}/constraints-${PYTHON_MAJOR_MINOR_VERSION}.txt" \
+          --constraint "${AIRFLOW_CONSTRAINTS_LOCATION}" \

Review comment:
       The same URL is defined at 
   
   https://github.com/apache/airflow/blob/780c0b4ab8d1a64ca806942ae094f722d9beb447/Dockerfile#L158-L159




----------------------------------------------------------------
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:
users@infra.apache.org