Skip to content

Automated Dependency Updates for Devcontainer

Categories: docker

Renovate supports updating Devcontainer dependencies.

File Matching

By default, Renovate will check any files matching any of the following regular expressions:

^.devcontainer/devcontainer.json$
^.devcontainer.json$

For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: docker.

Default config

{
  "fileMatch": [
    "^.devcontainer/devcontainer.json$",
    "^.devcontainer.json$"
  ]
}

Additional Information

Extracts all Docker images from the image and features properties in these files:

  • .devcontainer.json
  • .devcontainer/devcontainer.json

The devcontainer manager does not support build.dockerFile or dockerComposeFile values as these are covered by the dockerfile and docker-compose managers respectively.