COPY --from
cannot reference its own FROM
alias DOK-DL3023Trying to copy from the same image the instruction is running in results in an error.
FROM debian:jesse as build
COPY --from=build some stuff ./
FROM debian:jesse as build
RUN stuff
FROM debian:jesse
COPY --from=build some stuff ./