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

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

commit 45d04371ff3d4d96ded92e529555969f657bd787
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jul 8 11:07:27 2025 +0200

    [v3-0-test] fix: escape $ in airflow-init to properly set AIRFLOW_UID 
(#52988) (#53007)
    
    (cherry picked from commit a30bd70ba45b1ebbecf34996af76bcb18ba17daf)
    
    Co-authored-by: Jun Jeong <[email protected]>
---
 airflow-core/docs/howto/docker-compose/docker-compose.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow-core/docs/howto/docker-compose/docker-compose.yaml 
b/airflow-core/docs/howto/docker-compose/docker-compose.yaml
index 17f2e93bf14..024f39decf4 100644
--- a/airflow-core/docs/howto/docker-compose/docker-compose.yaml
+++ b/airflow-core/docs/howto/docker-compose/docker-compose.yaml
@@ -217,7 +217,7 @@ services:
           echo "For other operating systems you can get rid of the warning 
with manually created .env file:"
           echo "    See: 
https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html#setting-the-right-airflow-user";
           echo
-          export AIRFLOW_UID=$(id -u)
+          export AIRFLOW_UID=$$(id -u)
         fi
         one_meg=1048576
         mem_available=$$(($$(getconf _PHYS_PAGES) * $$(getconf PAGE_SIZE) / 
one_meg))

Reply via email to