Skip to content

Support renovating apk add commands in Dockerfiles #5422

@felixfbecker

Description

@felixfbecker

What would you like Renovate to be able to do?
Out builds frequently break because versions get removed from the apk repositories and replaced with newer versions. When using pinned versions in the Dockerfiles (which is a good idea), this causes build failures. It would be nice if Renovate could detect apk add lines in Dockerfiles and proactively open PRs to update.

Describe the solution you'd like
Renovate could use a simple regex match to detect lines with apk add (should work across multiple lines too) in Dockerfiles and shell scripts.

Describe alternatives you've considered
#1938, but that seems up in the air

Additional context
Example PR: https://github.com/sourcegraph/sourcegraph/pull/8342/files

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedHelp is needed or welcomed on this issuenew package managerNew package manager supportpriority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of others

    Type

    No type

    Priority

    None yet

    Datasource

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions