It seems right now that you can't specify a resource class for the remote docker environment. It would be nice to either use the resource class from your primary image or be able to specify one in the setup_remote_docker command. We were using a docker with remote docker to build, but the build times were too slow so we switched to machine for the time being.