cli icon indicating copy to clipboard operation
cli copied to clipboard

Add support for "extends" keyword

Open greggroth opened this issue 3 years ago • 2 comments

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.

greggroth avatar Dec 02 '22 19:12 greggroth

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)

WillPapper avatar Oct 10 '24 03:10 WillPapper

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

asanglard avatar Jan 24 '25 16:01 asanglard