code: def render_dockerfile(version):
      txt = docker_template.render(
          cuda_version=version,
          cudnn_short_version=CUDNN_VERSION,
          cudnn_version=CUDNN_FULL_VERSION,
      )
      fname = os.path.join(
          condadir,
          "../docker/Dockerfile.conda_cuda" + version.replace(".", ""),
      )
      with open(fname, "w") as f:
          f.write(txt + "\n")
      return fname
  
imports: import os
  import sys
  import subprocess
  from jinja2 import Template
label_desc: Use image node_id 1 for calling a global function with example usage: render_dockerfile(version) and returns: fname