code: def test_image_with_gpu(arrow_compose_path):
      compose = DockerCompose(arrow_compose_path)
  
      expected_calls = [
          [
              "run",
              "--rm",
              "--gpus",
              "all",
              "-e",
              "CUDA_ENV=1",
              "-e",
              "OTHER_ENV=2",
              "-v",
              "/host:/container:rw",
              "org/ubuntu-cuda",
              "/bin/bash",
              "-c",
              "echo 1 > /tmp/dummy && cat /tmp/dummy",
          ]
      ]
      with assert_docker_calls(compose, expected_calls):
          compose.run("ubuntu-cuda")
  
imports: import collections
  import os
  import re
  import subprocess
  from unittest import mock
  import pytest
  from archery.docker import DockerCompose
  from archery.testing import assert_subprocess_calls, override_env, PartialEnv
label_desc: Use image node_id 19 for calling a global function with example usage: test_image_with_gpu(arrow_compose_path) without return types