Skip to content

Commit a30bd70

Browse files
fix: escape $ in airflow-init to properly set AIRFLOW_UID (apache#52988)
1 parent d458554 commit a30bd70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airflow-core/docs/howto/docker-compose/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ services:
217217
echo "For other operating systems you can get rid of the warning with manually created .env file:"
218218
echo " See: https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html#setting-the-right-airflow-user"
219219
echo
220-
export AIRFLOW_UID=$(id -u)
220+
export AIRFLOW_UID=$$(id -u)
221221
fi
222222
one_meg=1048576
223223
mem_available=$$(($$(getconf _PHYS_PAGES) * $$(getconf PAGE_SIZE) / one_meg))

0 commit comments

Comments
 (0)