Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@Zenithar

Description

@Zenithar
Issue body actions

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,

sschuberth

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.