constructor({
    cwd,
    runtime,
    template,
    profile = {},
    debugInfo = {}
  }) {
    this._cwd = cwd;
    this._runtime = runtime;
    this._template = template;
    this._profile = profile;
    this._debugInfo = debugInfo;
  }
Run functions locally. This class is a wrapper of LocalRuntime, which runs functions
on containers actually.