This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 7835fd2659 The fix-ownership command missed --rm flag and left
dangling containers (#37277)
7835fd2659 is described below
commit 7835fd2659335d3acf830ce2e70dc19bfc5b2a84
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Feb 9 14:59:33 2024 +0100
The fix-ownership command missed --rm flag and left dangling containers
(#37277)
Fixes: #37269
---
dev/breeze/src/airflow_breeze/utils/docker_command_utils.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev/breeze/src/airflow_breeze/utils/docker_command_utils.py
b/dev/breeze/src/airflow_breeze/utils/docker_command_utils.py
index 5a4e569e42..35d8e56d80 100644
--- a/dev/breeze/src/airflow_breeze/utils/docker_command_utils.py
+++ b/dev/breeze/src/airflow_breeze/utils/docker_command_utils.py
@@ -567,6 +567,7 @@ def fix_ownership_using_docker(quiet: bool = False):
f"DOCKER_IS_ROOTLESS={is_docker_rootless()}",
"-e",
f"VERBOSE_COMMANDS={str(not quiet).lower()}",
+ "--rm",
"-t",
OWNERSHIP_CLEANUP_DOCKER_TAG,
"/opt/airflow/scripts/in_container/run_fix_ownership.py",