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 ce32526b9a4fd519f8676cbad194ffc60e8a4c7d
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Aug 18 14:29:14 2025 +0200
[v3-0-test] Add build essential to airlfow build image (#54613) (#54614)
We are building a small image for our release process to build our
distributions in an isolated environment - and this image fails
to build on ARM because there are no corresponding binary wheels
released for `prek` so prek is built from sources when installed
in this image. This image originally did not have build-essential
which is needed in order to compile some of prek dependencies.
This PR temporary adds build-essential until prek will produce
more binary wheels for more target platforms. This is
tracked in https://github.com/j178/prek/issues/451
(cherry picked from commit 50c1941b6749fb901a847bbab8462ad49d6db7b5)
Co-authored-by: Jarek Potiuk <[email protected]>
---
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 32329e0e92b..62570a525ad 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -260,7 +260,7 @@ PYYAML_VERSION = "6.0.2"
AIRFLOW_BUILD_DOCKERFILE = f"""
# syntax=docker/dockerfile:1.4
FROM
python:{DEFAULT_PYTHON_MAJOR_MINOR_VERSION}-slim-{ALLOWED_DEBIAN_VERSIONS[0]}
-RUN apt-get update && apt-get install -y --no-install-recommends git curl
+RUN apt-get update && apt-get install -y --no-install-recommends git curl
build-essential
RUN pip install uv=={UV_VERSION}
RUN
--mount=type=cache,id=cache-airflow-build-dockerfile-installation,target=/root/.cache/
\
uv pip install --system ignore pip=={AIRFLOW_PIP_VERSION}
hatch=={HATCH_VERSION} \