COPY --from
should reference a previously defined FROM
alias DOK-DL3022Trying to copy from a missing image alias results in an error.
FROM debian:jesse as build
RUN stuff
FROM debian:jesse
COPY --from=build some stuff ./
FROM debian:jesse as build
RUN stuff
FROM debian:jesse
COPY --from=build some stuff ./