stromal commented on code in PR #27406: URL: https://github.com/apache/airflow/pull/27406#discussion_r1009310782
########## docs/apache-airflow/howto/operator/python.rst: ########## @@ -116,12 +116,109 @@ pre-defined virtual environment. The virtualenv should be preinstalled in the en Python is run and in case ``dill`` is used, it has to be preinstalled in the virtualenv (the same version that is installed in main Airflow environment). + +Dockerfile Example + +``` +# You canswitch the airflow and python version numbers here (limited python versions to each ariflow version) +FROM apache/airflow:2.4.2-python3.8 + +# ExternalPythonOperator +# Compulsory to switch parameter to use your own venve via ExternalPythonOperator Review Comment: @potiuk I would love to help out but I am not sure how to add new files to the project. Do I just clone it and push it with my new added files? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
