renovate/lib/modules/manager/dockerfile
Michael Kriese 3f33995ab9
feat(manager/terraform): support registry aliases for docker images and oci helm charts (#22022)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2023-05-09 15:26:00 +00:00
..
__fixtures__ feat(dockerfile): add support for escape chars and ARG instructions (#15751) 2022-06-06 05:47:17 +00:00
extract.spec.ts fix(docker): ensure digest is updated only once with ARG and multiple FROM statements (#18061) 2022-11-07 22:54:37 +00:00
extract.ts feat(manager/terraform): support registry aliases for docker images and oci helm charts (#22022) 2023-05-09 15:26:00 +00:00
index.ts feat(manager/dockerfile): support file names that are all lowercase (#21877) 2023-05-03 19:05:39 +00:00
readme.md feat(manager/dockerfile): match Containerfile (#20804) 2023-03-10 05:37:14 +00:00

Extracts image references in a Dockerfile and/or Containerfile.

Renovate's managers does not understand versioning, that's up to Renovate's versioning modules. The default docker versioning for container image datasources treats suffixes as "compatibility", for example: -alpine. Many container images are not SemVer compliant because they use such suffixes in their tags.

If Renovate does not update your container images correctly, you may need to tell Renovate what versioning it should use. For example, if you know that an image follows SemVer, you can tell Renovate to use "semver" versioning for that image:

{
  "packageRules": [
    {
      "matchDatasources": ["docker"],
      "matchPackageNames": ["whitesource/renovate"],
      "versioning": "semver"
    }
  ]
}

Read Renovate's Docker Versioning docs to learn more.