Add support for "extends" keyword
An "extends" keyword that allows one devcontainer file to import another devcontainer file as a base configuration was proposed in https://github.com/devcontainers/spec/issues/22. This PR aims to implement support for that feature.
The extends keyword solves a major problem for us! We have a number of services that share a base dev environment, but then have additional needs for per-service configuration on top of it.
Is there a chance that this will be merged soon? Would prefer to not have to work around it by building a separate Docker container for the base dev environment, since that would break postCreateCommand behavior that we rely on in it.
(For what it's worth, Copilot thinks that this keyword was already merged in and is suggesting it to end users, which is how I found my way here)
hi @joshspicer @Chuxel @greggroth
is there any update here ? I'm also looking for such feature.
this will definitively help a lot to allow developers of a same project to make some slights adjustements of the devcontainer.json