siderolabs/conform

feat: variable for the previous Dockerfile stage

andrewrynhard opened this issue · 0 comments

Multi-stage builds allow for referencing different stages:

FROM scratch as example
FROM scratch
COPY --from=example / /

It would be nice if we could reference the previous stage with something like

COPY --from={{ .PreviousStage }}}