This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-3-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 5b3cab24aea60b0736ecc9024b24319027104195 Author: Jarek Potiuk <[email protected]> AuthorDate: Sat May 7 16:17:48 2022 +0200 Fix _PIP_ADDITIONAL_REQUIREMENTS case for docker-compose (#23517) Recent versions of Airflow do not allow to run `pip install` as root but the `init` job runs as root so when the variable _PIP_ADDITIONAL_REQUIREMENTS is set, the init container fails. This PR forces _PIP_ADDITIONAL_REQUIREMENTS to be empty for the init job. (cherry picked from commit efed15bb6de8ac214b7029659ea08ce079116274) --- docs/apache-airflow/start/docker-compose.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/apache-airflow/start/docker-compose.yaml b/docs/apache-airflow/start/docker-compose.yaml index b052ea708f..cb58d2d89c 100644 --- a/docs/apache-airflow/start/docker-compose.yaml +++ b/docs/apache-airflow/start/docker-compose.yaml @@ -235,6 +235,7 @@ services: _AIRFLOW_WWW_USER_CREATE: 'true' _AIRFLOW_WWW_USER_USERNAME: ${_AIRFLOW_WWW_USER_USERNAME:-airflow} _AIRFLOW_WWW_USER_PASSWORD: ${_AIRFLOW_WWW_USER_PASSWORD:-airflow} + _PIP_ADDITIONAL_REQUIREMENTS: '' user: "0:0" volumes: - .:/sources
