This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-0-test by this push:
     new 80c1219f2db [v3-0-test] Doc update to install git in docker image 
prior 3.0.2 (#52190) (#52200)
80c1219f2db is described below

commit 80c1219f2db0a846bcfc71510398929a1cbfec77
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Wed Jun 25 01:54:23 2025 +0200

    [v3-0-test] Doc update to install git in docker image prior 3.0.2 (#52190) 
(#52200)
    
    * Doc update to install git in docker image prior 3.0.2
    
    Prior to Airflow 3.0.2, docker image needs git installed on it to be able 
to use the git dag bundles feature. Adding this note to the docs
    
    * Fix static checks
    (cherry picked from commit fecd94fa6f02cc946acd79f847e4c3f8b2fe7522)
    
    Co-authored-by: Dheeraj Turaga <dheerajtur...@gmail.com>
---
 airflow-core/docs/administration-and-deployment/dag-bundles.rst | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/airflow-core/docs/administration-and-deployment/dag-bundles.rst 
b/airflow-core/docs/administration-and-deployment/dag-bundles.rst
index 7dc03ebab14..057d354b1f5 100644
--- a/airflow-core/docs/administration-and-deployment/dag-bundles.rst
+++ b/airflow-core/docs/administration-and-deployment/dag-bundles.rst
@@ -83,6 +83,15 @@ For example, adding multiple dag bundles to your 
``airflow.cfg`` file:
 You can also override the :ref:`config:dag_processor__refresh_interval` per 
dag bundle by passing it in kwargs.
 This controls how often the dag processor refreshes, or looks for new files, 
in the dag bundles.
 
+Starting Airflow 3.0.2 git is pre installed in the base image. However, if you 
are using versions prior 3.0.2, you would need to install git in your docker 
image.
+
+.. code-block:: Dockerfile
+
+  RUN apt-get update && apt-get install -y git
+  ENV GIT_PYTHON_GIT_EXECUTABLE=/usr/bin/git
+  ENV GIT_PYTHON_REFRESH=quiet
+
+
 Writing custom dag bundles
 --------------------------
 

Reply via email to