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 2022/10/31 11:31:02 UTC
[GitHub] [airflow] stromal commented on a diff in pull request #27406: examples
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org