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 681c59a27c1 Remove root warning in image used to build packages in CI 
(#43597)
681c59a27c1 is described below

commit 681c59a27c1e0414bf1843c569fad9d0ec407456
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Nov 1 23:33:10 2024 +0100

    Remove root warning in image used to build packages in CI (#43597)
---
 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 e8122003238..f906ffaa442 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -243,7 +243,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