Reports duplicated stage names in FROM ... AS stage-name command.

Examples:


  # the commands below will fail
  FROM ubuntu:latest AS stage1
  FROM ubuntu:latest AS stage1