Skip to content

Dockerfile: update --from options from RUN Dockerfile instructions when not first mount #37534

@rarkins

Description

@rarkins

Discussed in #37280

Originally posted by aradkdj August 1, 2025

Tell us more.

Support parsing version information from a RUN's --mount=from when a docker image does not appear as the first mount for the instruction.

Reproduction repo: https://github.com/aradkdj/renovate-37280-reproduction

Metadata

Metadata

Assignees

No one assigned

    Labels

    manager:dockerfileDockerfile filespriority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of others

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions