diff --git a/Dockerfile b/Dockerfile index 35f1628c1cffb..d406230d91a7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1403,7 +1403,6 @@ COPY <<"EOF" /install_yarn_dependencies_from_branch_tip.sh : "${AIRFLOW_REPO:?Should be set}" : "${AIRFLOW_BRANCH:?Should be set}" -: "${AIRFLOW_SOURCES:?Should be set}" function install_yarn_dependencies_from_branch_tip() { echo @@ -1621,7 +1620,7 @@ RUN bash /scripts/docker/install_packaging_tools.sh; \ # We are installing Yarn dependencies here to make sure they are cached in the layer RUN if [[ ${AIRFLOW_PRE_CACHED_YARN_PACKAGES} == "true" ]]; then \ - bash /install_yarn_dependencies_from_branch_tip.sh; \ + bash /scripts/docker/install_yarn_dependencies_from_branch_tip.sh; \ fi diff --git a/Dockerfile.ci b/Dockerfile.ci index 3f07bcb584a45..0a42d15e87603 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1178,7 +1178,6 @@ COPY <<"EOF" /install_yarn_dependencies_from_branch_tip.sh : "${AIRFLOW_REPO:?Should be set}" : "${AIRFLOW_BRANCH:?Should be set}" -: "${AIRFLOW_SOURCES:?Should be set}" function install_yarn_dependencies_from_branch_tip() { echo @@ -1390,7 +1389,7 @@ RUN bash /scripts/docker/install_packaging_tools.sh; \ # We are installing Yarn dependencies here to make sure they are cached in the layer RUN if [[ ${AIRFLOW_PRE_CACHED_YARN_PACKAGES} == "true" ]]; then \ - bash /install_yarn_dependencies_from_branch_tip.sh; \ + bash /scripts/docker/install_yarn_dependencies_from_branch_tip.sh; \ fi # Here we fix the versions so all subsequent commands will use the versions diff --git a/scripts/docker/install_yarn_dependencies_from_branch_tip.sh b/scripts/docker/install_yarn_dependencies_from_branch_tip.sh index 67b825a3387ed..3adcf695b2128 100644 --- a/scripts/docker/install_yarn_dependencies_from_branch_tip.sh +++ b/scripts/docker/install_yarn_dependencies_from_branch_tip.sh @@ -29,7 +29,6 @@ : "${AIRFLOW_REPO:?Should be set}" : "${AIRFLOW_BRANCH:?Should be set}" -: "${AIRFLOW_SOURCES:?Should be set}" function install_yarn_dependencies_from_branch_tip() { echo