Skip to content

Harden Docker build context with .dockerignore policy check#3428

Open
fedexcc wants to merge 1 commit into
orchestration-agent:mainfrom
fedexcc:codex/bounty-3034-dockerignore-context-guard
Open

Harden Docker build context with .dockerignore policy check#3428
fedexcc wants to merge 1 commit into
orchestration-agent:mainfrom
fedexcc:codex/bounty-3034-dockerignore-context-guard

Conversation

@fedexcc
Copy link
Copy Markdown

@fedexcc fedexcc commented May 23, 2026

Fixes #3034

Summary

  • add a baseline .dockerignore covering local env, caches, logs, VCS, and temp artifacts
  • add scripts/check_dockerignore.py to enforce required ignore rules
  • add CI step to fail if the docker context policy regresses

Validation

  • python scripts/check_dockerignore.py
  • pytest -q tests/test_config.py

/claim #3034

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ Bounty $3k ] [ Docker ] Exclude local environment files from build context — dockerignore policy

1 participant