Skip to content

build: allowlist application files in Docker context - #1302

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

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

Conversation

@addshore

@addshore addshore commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Exclude files from the Docker context by default and explicitly include application directories and build inputs. Newly added development files stay excluded automatically. Alternative to the explicit exclusions 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 #1301 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