Skip to content

Automated Dependency Updates for Dockerfile

Renovate supports updating Dockerfile dependencies.

File Matching

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

(^|/|\.)Dockerfile$
(^|/)Dockerfile[^/]*$

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": [
    "(^|/|\\.)Dockerfile$",
    "(^|/)Dockerfile[^/]*$"
  ]
}

Additional Information

Extracts all Docker images in a Dockerfile.

If you need to change the versioning format, read the versioning documentation to learn more.

Open feature requests

  • Dockerfile FROM pinning support #1027
  • Replacing deprecated dependencies for docker datasource only replace version #12623

The above list of features were current when this page was generated on December 08, 2022.