Pattern: Duplicate FROM
alias (stage name)
Issue: -
Defining duplicate stage names results in an error.
Example of incorrect code:
FROM debian:jesse as build
RUN stuff
FROM debian:jesse as build
RUN more_stuff
Example of correct code:
FROM debian:jesse as build
RUN stuff
FROM debian:jesse as another-alias
RUN more_stuff