Support for updating devcontainer.json files (for dev containers) #7000
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Feature description
Dev containers are growing in popularity. They are used in VSCode and GitHub Codespaces, and support is being added to other tools such as Gitpod. Dependabot itself even uses them here.
Dependabot should support updating versions in the devcontainer.json
file (specification here). This should include updating both the image
and features
properties.
Image example:
{
"image": "mcr.microsoft.com/devcontainers/go:1"
}
Features example (note that both feature versions and package versions can appear in this object):
"features": {
"ghcr.io/user/repo/go": {},
"ghcr.io/user/repo1/go:1": {},
"ghcr.io/user/repo2/go:latest": {},
"https://github.com/user/repo/releases/devcontainer-feature-go.tgz": {
"optionA": "value"
},
"./myGoFeature": {
"optionA": true,
"optionB": "hello",
"version" : "1.0.0"
}
}