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

utkarsharma pushed a commit to branch sync_2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 9425ae0c891582562aecc22e0c8afaa3879c1a5b
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Nov 4 09:59:07 2024 +0100

    Remove root warning in image used to build packages in CI (#43597) (#43625)
    
    (cherry picked from commit 681c59a27c1e0414bf1843c569fad9d0ec407456)
---
 dev/breeze/src/airflow_breeze/commands/release_management_commands.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py 
b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
index 18b5bd539f3..33f3dd338e4 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -240,7 +240,7 @@ PYYAML_VERSION = "6.0.1"
 AIRFLOW_BUILD_DOCKERFILE = f"""
 FROM 
python:{DEFAULT_PYTHON_MAJOR_MINOR_VERSION}-slim-{ALLOWED_DEBIAN_VERSIONS[0]}
 RUN apt-get update && apt-get install -y --no-install-recommends git
-RUN pip install pip=={AIRFLOW_PIP_VERSION} hatch=={HATCH_VERSION} 
pyyaml=={PYYAML_VERSION}\
+RUN pip install --root-user-action ignore pip=={AIRFLOW_PIP_VERSION} 
hatch=={HATCH_VERSION} pyyaml=={PYYAML_VERSION}\
  gitpython=={GITPYTHON_VERSION} rich=={RICH_VERSION} 
pre-commit=={PRE_COMMIT_VERSION}
 COPY . /opt/airflow
 """

Reply via email to