Repository navigation
[v3-4-test] Inline the GPG keys into the PROD Dockerfile (#76644) - #76717
Merged
Merged
Conversation
Since apache#65408 the Dockerfile copies scripts/docker/keys/ from the build context, so a build fails with `"/scripts/docker/keys": not found` unless it runs from an Airflow checkout. The docs say the Dockerfile can be saved in any directory and used without other files, and the source release cannot build it at all, because scripts/ is export-ignored from the archive. The keys are now inlined with the scripts. They stay byte-identical, so the marker install_os_dependencies.sh computes does not change. Dockerfile.ci always builds from a checkout, so it keeps copying them from the context. Generated-by: Claude Opus 5 (cherry picked from commit 7b8d8f1)
potiuk
requested review from
amoghrajesh,
ashb,
bugraoz93,
choo121600,
ephraimbuddy,
gopidesupavan,
jason810496,
jedcunningham,
jscheffl and
vatsrahul1001
as code owners
November 9, 2026 02:57
potiuk
enabled auto-merge (squash)
November 9, 2026 02:57
vatsrahul1001
pushed a commit
that referenced
this pull request
Nov 9, 2026
…6717) Since #65408 the Dockerfile copies scripts/docker/keys/ from the build context, so a build fails with `"/scripts/docker/keys": not found` unless it runs from an Airflow checkout. The docs say the Dockerfile can be saved in any directory and used without other files, and the source release cannot build it at all, because scripts/ is export-ignored from the archive. The keys are now inlined with the scripts. They stay byte-identical, so the marker install_os_dependencies.sh computes does not change. Dockerfile.ci always builds from a checkout, so it keeps copying them from the context. Generated-by: Claude Opus 5 (cherry picked from commit 7b8d8f1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Manual backport of #76644 to
v3-4-test, as the automatic backport failed.It applies unchanged now that #76225 is on
v3-4-test(#76642).Checks run locally:
dev/breeze/tests/test_os_deps_images.pypasses, and the two new tests fail on the Dockerfile without this change. The inline hook is clean on a second run. hadolint needs Docker and did not run locally.breeze verifywas not run. The standalone build of this branch's Dockerfile was not run yet.Was generative AI tooling used to co-author this PR?
Generated-by: Claude Opus 5 following the guidelines
🤖 Generated with Claude Code