docker build --debug <path> now interprets dockerfiles and dumps the parse tree.