code: def set_docker_image(config: Dict) -> Dict:
      git_short_hash = (
          subprocess.check_output(
              ["git", "rev-parse", "--short", "HEAD"]
          )
          .strip()
          .decode("utf-8")
      )
  
      config = conf.set_image(
          config,
          conf.TF1_CPU_IMAGE,
          f"determinedai/model-hub-mmdetection:{git_short_hash}",
      )
      return config
  
file_path: determined/e2e_tests/tests/model_hub/test_mmdetection.py
imports: import os
  import subprocess
  from typing import Dict
  import pytest
  from tests import config
  from tests import experiment
label_desc: Use image node_id 1 for calling a global function with example usage: set_docker_image(config) and returns: config