Skip to content

docs: document using build contexts to override syntax directive - #3509

Merged
jedevc merged 1 commit into
docker:masterfrom
jedevc:docs-syntax-build-context
Nov 13, 2025
Merged

jedevc merged 1 commit into
docker:masterfrom
jedevc:docs-syntax-build-context

Conversation

@jedevc

@jedevc jedevc commented Nov 11, 2025

Copy link
Copy Markdown
Collaborator

This functionality was added in moby/buildkit#3633. It's quite useful, especially for developers of new frontends. I couldn't find any docs for the feature anywhere, but figured that this would be a good place to include it (it's the first place I looked).

Signed-off-by: Justin Chadwell <me@jedevc.com>
@crazy-max
crazy-max requested a review from dvdksn November 12, 2025 10:54
@crazy-max

Copy link
Copy Markdown
Member

@dvdksn Might be worth a change on docs repo as well? https://docs.docker.com/build/concepts/context/#named-contexts

@dvdksn dvdksn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one. I didn't know about this either.

We don't document custom syntaxes a lot. I'm sure we could do more of that. It's kind of a niche market though.

@jedevc
jedevc merged commit 1c7e6e7 into docker:master Nov 13, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants