cdxgen could attempt to build compose files using ${dockerCmd} compose command, when installDeps is set to true. A performance tweak could be to first check for existing images using compose images `https://docs.docker.com/reference/cli/docker/compose/images/.