Skip to content

Support "--from" for ADD in multi stage build #36759

@Zenithar

Description

@Zenithar

Hello,

It would be great to support "--from" like COPY but for ADD statement.
I build image in 2 separated images : 1 for compilation that output au rootfs archive, and another which ADD rootfs.tar as / from a scratch image.
I think that MSB is a good idea but ADD con't take "--from" parameter.

Sample Dockerfile used (https://gist.github.com/Zenithar/9209968).

Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/builderBuildkind/featureFunctionality or other elements that the project doesn't currently have. Features are new and shiny

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions