Expand description
Static evaluation of the image configuration a Dockerfile build produces.
Works over the instructions parse_document produces. FROM, ARG, ENV, LABEL,
EXPOSE, WORKDIR, USER, CMD, ENTRYPOINT and SHELL shape the result; every other
instruction is skipped. A FROM operand equal to an earlier stage’s lowercased
name continues from that stage’s final configuration and variables, and any
other operand starts a fresh stage, recorded in base_image unless it is
scratch. An unknown target and a file without stages are the only errors.