code: def get_dstack_shim(build: str) -> List[str]:
      bucket = "dstack-runner-downloads-stgn"
      if settings.DSTACK_VERSION is not None:
          bucket = "dstack-runner-downloads"
  
      return [
          f'sudo curl --output /usr/local/bin/dstack-shim "https://{bucket}.s3.eu-west-1.amazonaws.com/{build}/binaries/dstack-shim-linux-amd64"',
          "sudo chmod +x /usr/local/bin/dstack-shim",
      ]
  
imports: import os
  import re
  from abc import ABC, abstractmethod
  from typing import List, Optional
  import git
  import requests
  import yaml
  from dstack import version
  from dstack._internal import settings
  from dstack._internal.core.models.backends.base import BackendType
  from dstack._internal.core.models.instances import InstanceOfferWithAvailability, InstanceState, LaunchedGatewayInfo, LaunchedInstanceInfo
  from dstack._internal.core.models.runs import Job, Requirements, Run
  from dstack._internal.utils.logging import get_logger
label_desc: Use image node_id 6 for calling a global function with example usage: get_dstack_shim(build) and returns: list