Build a DAG of dependent docker jobs.