Skip to content

build: global .dockerignore - #26237

Draft
crazy-max wants to merge 1 commit into
docker:mainfrom
crazy-max:global-dockerignore
Draft

crazy-max wants to merge 1 commit into
docker:mainfrom
crazy-max:global-dockerignore

Conversation

@crazy-max

Copy link
Copy Markdown
Member

Description

This documents Buildx global .dockerignore file in the build context guide. It explains where Buildx reads the file, which contexts it applies to, and how its rules interact with a repository ignore rules. A path excluded by either file stays excluded.

Related issues or tickets

Reviews

  • Technical review
  • Editorial review
  • Product review

@netlify

netlify Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 2af9cf7
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6abe7a80065d050008f82f7e
😎 Deploy Preview https://deploy-preview-26237--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 Oct 1, 2026
Document the Buildx global ignore file location, supported contexts,
and additive precedence with repository ignore rules.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max
crazy-max force-pushed the global-dockerignore branch from cbd5c85 to 2af9cf7 Compare October 1, 2026 15:21

This branch has not been deployed

No deployments
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.

1 participant