GitHub user potiuk edited a comment on the discussion: Error - /entrypoint: 
line 20: airflow: command not found

And for posterity our docs say (in the important notes for extending images):


> You can use regular pip install commands (and as of Dockerfile coming in 
> Airflow 2.9 also uv pip install - experimental) to install
> PyPI packages. Regular install commands should be used, however you should 
> remember to add 
> apache-airflow==${AIRFLOW_VERSION} to the command to avoid accidentally 
> upgrading or downgrading
> the version of Apache Airflow. Depending on the scenario you might also use 
> constraints file. As of 
> Dockerfile available in Airflow 2.9.0, the constraints file used to build the 
> image is available in 
> ${HOME}/constraints.txt.


GitHub link: 
https://github.com/apache/airflow/discussions/53623#discussioncomment-13862997

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to