In 69aa8a8 I had to work around the Graphviz configure script reporting that it couldn't find pkg-config when configuring for Expat. According to the Emscripten docs emconfigure is supposed to set up environment variables for pkg-config.
Graphviz commit that changed how Expat is detected:
https://gitlab.com/graphviz/graphviz/-/commit/4d530ac825ddfba3d0b0c130aa0cacf2801e80fb
Ideally the Dockerfile wouldn't have to specify EXPAT_CFLAGS and EXPAT_LIBS explicitly.