potiuk opened a new pull request, #77098: URL: https://github.com/apache/airflow/pull/77098
The weekly "Scheduled legacy PROD image canary" fails in `test_dockerfile_example[extending/add-providers/Dockerfile]` ([run](https://github.com/apache/airflow/actions/runs/43669115776/job/132683231766)): ``` E: Package 'openjdk-21-jre-headless' has no installation candidate ``` The example was moved to `openjdk-21` with the switch to the trixie hardened images, but the 3.4.x line still publishes the legacy bookworm PROD images, and bookworm only has `openjdk-17`. The example's `JAVA_HOME` was also hard-coded to the amd64 JVM directory, so it was wrong on arm64 images too. `default-jre-headless` pulls Debian's default JRE for the release (17 on bookworm, 21 on trixie) and ships the `/usr/lib/jvm/default-java` symlink on every architecture, so one example works for both image flavors. Testing: the Debian package file lists for `default-jre-headless` (bookworm/amd64, trixie/arm64) confirm `/usr/lib/jvm/default-java`. The Docker example build itself was not run locally (no Docker available in that environment); the regular PROD image tests in this PR and the next legacy canary run cover it. --- ##### 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]
