You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BuildKit added the --build-context argument to enable users to provide additional build contexts during a build. More documentation about this can be found here.
Describe the solution you'd like
Being able to configure additional build contexts in a Compose file, such as:
Sounds good! I was wondering whether having contexts next to context would be confusing. I wonder if it should be extra_contexts or something similar to be more explicit that it's optional (as opposed to context). WDYT?
additional_contexts or named_contexts could indeed avoid confusion.
Also would probably better use of a mapping vs the name=path syntax introduced by buildx as a command line flag doesn't have much flexibility (we could support both, as we do in a few places already)
What is the problem you're trying to solve
BuildKit added the
--build-context
argument to enable users to provide additional build contexts during a build. More documentation about this can be found here.Describe the solution you'd like
Being able to configure additional build contexts in a Compose file, such as:
Used together with a Dockerfile such as:
Additional context
Add any other context about the feature request here.
The text was updated successfully, but these errors were encountered: