potiuk opened a new pull request, #76645: URL: https://github.com/apache/airflow/pull/76645
Passing a plain Debian `BASE_IMAGE` to the default `hardened` flavor stops the build with `python3: command not found`, which does not say what to change. A user hit this building a customized image with `debian:trixie-slim`. The script now names the two ways out: a `BASE_IMAGE` with Python, or `AIRFLOW_IMAGE_FLAVOR=legacy`. The build args reference also says `BASE_IMAGE` has to provide Python, which so far was only in the changelog. Tested: `dev/breeze/tests/test_os_deps_images.py` passes, and the new test fails on the old script. hadolint and shellcheck need Docker and did not run locally. `breeze verify` was not run. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Opus 5 Generated-by: Claude Opus 5 following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
