Skip to content

docs: note ** exception patterns in .dockerignore are unreliable - #25850

Open
locker95 wants to merge 1 commit into
docker:mainfrom
locker95:docs/dockerignore-exception-globs
Open

docs: note ** exception patterns in .dockerignore are unreliable#25850
locker95 wants to merge 1 commit into
docker:mainfrom
locker95:docs/dockerignore-exception-globs

Conversation

@locker95

Copy link
Copy Markdown
Contributor

The exception examples with !README.md are fine. What still bites people is !dir/**/*.go after excluding a directory — that never really worked and isn't planned.

Fixes #13343

Signed-off-by: Dean Chen <862469039@qq.com>
@locker95
locker95 requested a review from dvdksn as a code owner August 16, 2026 02:39
@netlify

netlify Bot commented Aug 16, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 1a7f0a0
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a8122fc124b14000874a081
😎 Deploy Preview https://deploy-preview-25850--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the area/build Relates to Dockerfiles or docker build command label Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Relates to Dockerfiles or docker build command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dockerignore files do not support wildcards in exception patterns

1 participant