Skip to content

build: exclude development files from Docker context - #1301

Open
addshore wants to merge 1 commit into
wbstack:mainfrom
addshore:dockerignore-exclusions
Open

addshore wants to merge 1 commit into
wbstack:mainfrom
addshore:dockerignore-exclusions

Conversation

@addshore

@addshore addshore commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Expand .dockerignore to exclude Compose files, tests, documentation, development tooling, and local configuration while retaining runtime files. Alternative to the allowlist approach. Validation: git diff --check passes; image build not run.

This is one option that would move towards avoiding thing such as wmde/wbaas-deploy#3186 and wmde/wbaas-deploy#3187 being generated when they really don't need to be.
TLDR; at least the docker-compose file likely shouldn't be in the docker image that is built.

See also #1302 for the alternative

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.

1 participant

⌂ Proxy