class_docstr: Container builder for building and pushing a Docker image.
class_docstr_tok: ["Container","builder","for","building","and","pushing","a","Docker","image","."]
docstr: Packages files into a tarball.
docstr_tok: ["Packages","files","into","a","tarball","."]
code: def _get_tar_file_path(self):
      """Packages files into a tarball."""
      self._create_docker_file()
      file_path_map = self._get_file_path_map()
  
      self.tar_file_descriptor, self.tar_file_path = tempfile.mkstemp()
      with tarfile.open(
          self.tar_file_path, "w:gz", dereference=True
      ) as tar:
          for source, destination in file_path_map.items():
              tar.add(source, arcname=destination)
  
imports: import logging
  import os
  import sys
  import tarfile
  import tempfile
  import time
  import uuid
  import warnings
  from .None import gcp
  from .None import machine_config
  import docker
  from google.cloud import storage
  from google.cloud.exceptions import NotFound
  from googleapiclient import discovery
  from googleapiclient import errors
  import requests
  from ..utils import google_api_client
  from ..utils import tf_utils
label_desc: Use image node_id 4 for calling the ContainerBuilder obj's underlying member method code with example usage: obj._get_tar_file_path() without return types