Skip to content

[v3-4-test] Inline the GPG keys into the PROD Dockerfile (#76644) - #76717

Merged
potiuk merged 1 commit into
apache:v3-4-testfrom
potiuk:backport-7b8d8f1-v3-4-test
Nov 9, 2026
Merged

potiuk merged 1 commit into
apache:v3-4-testfrom
potiuk:backport-7b8d8f1-v3-4-test

Conversation

@potiuk

@potiuk potiuk commented Nov 9, 2026

Copy link
Copy Markdown
Member

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.py passes, 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 verify was not run. The standalone build of this branch's Dockerfile was not run yet.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Opus 5

Generated-by: Claude Opus 5 following the guidelines

🤖 Generated with Claude Code

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)
@boring-cyborg boring-cyborg Bot added area:dev-tools area:production-image Production image improvements and fixes labels Nov 9, 2026
@potiuk
potiuk enabled auto-merge (squash) November 9, 2026 02:57
@potiuk potiuk added this to the Airflow 3.4.1 milestone Nov 9, 2026
@potiuk
potiuk merged commit 7b9e41e into apache:v3-4-test Nov 9, 2026
117 checks passed
@potiuk
potiuk deleted the backport-7b8d8f1-v3-4-test branch November 9, 2026 03:47
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools area:production-image Production image improvements and fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant