nerdctl icon indicating copy to clipboard operation
nerdctl copied to clipboard

Support multiple build contexts

Open mharwani opened this issue 1 year ago • 1 comments

What is the problem you're trying to solve

Docker build supports multiple contexts with --build-context flag to build complex projects. This allows you to build a Dockerfile using multiple local directories. https://www.docker.com/blog/dockerfiles-now-support-multiple-build-contexts/

Similar issue in Finch: https://github.com/runfinch/finch/issues/821

Describe the solution you'd like

Add a --build-context flag to nerdctl build command.

Additional context

No response

mharwani avatar Feb 20 '24 20:02 mharwani

Hey! I'm looking forward to start contributing to containerd projects. I'd like to get started with this one? (I'm already investigating the changes needed in the code base)

jmpargana avatar Mar 05 '24 17:03 jmpargana

@mharwani, can this issue be closed with the implementation that was added in ~~#2835~~ #2861?

austinvazquez avatar Apr 04 '24 16:04 austinvazquez

Implementation in #2861 resolves this. Closing the issue.

mharwani avatar Apr 04 '24 16:04 mharwani