class_docstr: Container for building and publishing ray docker images
code: def get_platform_tag(self) -> str:
      if self.platform == "cpu":
          return "-cpu"
      versions = self.platform.split(".")
      return f"-{versions[0]}{versions[1]}"
  
file_path: ray/ci/ray_ci/docker_container.py
imports: import os
  from typing import List
  from ci.ray_ci.linux_container import LinuxContainer
  from ci.ray_ci.builder_container import DEFAULT_ARCHITECTURE, DEFAULT_PYTHON_VERSION
label_desc: Use image node_id 5 for calling the DockerContainer obj's underlying member method code with example usage: obj.get_platform_tag() and returns: str, versions, versions, str