code: def docker_image():
      import docker
  
      client = docker.from_env()
      client.images.build(
          path=os.path.join(cur_dir), tag="override-config-test"
      )
      client.close()
      yield
      time.sleep(2)
      client = docker.from_env()
      client.containers.prune()
      client.close()
  
file_path: jina/tests/integration/override_config_params/container/test_override_config_params.py
imports: import os
  import time
  import pytest
  from jina import Flow, Document, Client
label_desc: Use image node_id 1 for calling a global function with example usage: docker_image() without return types