renovate/lib/modules/manager/dockerfile
Mathieu Kniewallner 83132a534e
fix(manager/docker): accept key-only arguments in `COPY --from` (#31344)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-09-12 11:29:23 +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(manager/docker): accept key-only arguments in `COPY --from` (#31344) 2024-09-12 11:29:23 +00:00
extract.ts fix(manager/docker): accept key-only arguments in `COPY --from` (#31344) 2024-09-12 11:29:23 +00:00
index.ts feat!: categories (#16534) 2023-07-04 19:21:52 +02:00
readme.md docs: fix two more links (#28344) 2024-04-11 14:45:41 +00:00

readme.md

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.