Skip to content

Add dockerignore policy for local artifacts#3950

Open
Thanhdn1984 wants to merge 1 commit into
orchestration-agent:mainfrom
Thanhdn1984:susan/dockerignore-context-policy-3949
Open

Add dockerignore policy for local artifacts#3950
Thanhdn1984 wants to merge 1 commit into
orchestration-agent:mainfrom
Thanhdn1984:susan/dockerignore-context-policy-3949

Conversation

@Thanhdn1984
Copy link
Copy Markdown

Fixes #3949.

Changes

  • Add .dockerignore coverage for local env files, secret/key material, caches, logs, scratch/debug output, and local DB files.
  • Add a regression test that fails if key Docker build-context exclusions are removed.

Verification

  • python3 -m pytest tests/test_dockerignore.py -q

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