anchor.diff:  
   ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
   ENV LD_LIBRARY_PATH /usr/local/nvidia/lib:/usr/local/nvidia/lib64
  -ENV LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64/:/usr/lib/nvidia-384${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
  -ENV CUDA_HOME=/usr/local/cuda-9.0
   
   # nvidia-container-runtime
   ENV NVIDIA_VISIBLE_DEVICES all
   ENV NVIDIA_DRIVER_CAPABILITIES compute,utility
  -ENV NVIDIA_REQUIRE_CUDA "cuda>=9.0"
  +ENV NVIDIA_REQUIRE_CUDA "cuda>=9.1"
   
  -# NCCL
  +# NCCL https://gitlab.com/nvidia/cuda/blob/ubuntu16.04/9.1/runtime/Dockerfile
   ENV NCCL_VERSION 2.1.15
   
   RUN apt-get update && apt-get install -y --no-install-recommends \
           cuda-libraries-$CUDA_PKG_VERSION \
  -        libnccl2=$NCCL_VERSION-1+cuda9.0 && \
  +        libnccl2=$NCCL_VERSION-1+cuda9.1 && \
       rm -rf /var/lib/apt/lists/*
   
  -# CUDNN
  +# CUDNN https://gitlab.com/nvidia/cuda/blob/ubuntu16.04/9.1/runtime/cudnn7/Dockerfile
   ENV CUDNN_VERSION 7.1.1.5
   LABEL com.nvidia.cudnn.version="${CUDNN_VERSION}"
   
   RUN apt-get update && apt-get install -y --no-install-recommends \
  -            libcudnn7=$CUDNN_VERSION-1+cuda9.0 && \
  +            libcudnn7=$CUDNN_VERSION-1+cuda9.1 && \
       rm -rf /var/lib/apt/lists/*
   
   RUN apt-get update && apt-get install -y python3-pip
  
positive.code:     echo "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /" > /etc/apt/sources.list.d/cuda.list && \
      echo "deb http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64 /" > /etc/apt/sources.list.d/nvidia-ml.list
  
  ENV CUDA_VERSION 9.0.176
  
  ENV CUDA_PKG_VERSION 9-0=$CUDA_VERSION-1
  RUN apt-get update && apt-get install -y --no-install-recommends \
          cuda-cudart-$CUDA_PKG_VERSION && \
      ln -s cuda-9.0 /usr/local/cuda && \
      rm -rf /var/lib/apt/lists/*
  
  # nvidia-docker 1.0
  
negative.code: FROM jetbrains/teamcity-agent
  
  # CUDA https://gitlab.com/nvidia/cuda/blob/ubuntu16.04/9.1/base/Dockerfile
  RUN NVIDIA_GPGKEY_SUM=d1be581509378368edeec8c1eb2958702feedf3bc3d17011adbf24efacce4ab5 && \
      NVIDIA_GPGKEY_FPR=ae09fe4bbd223a84b2ccfce3f60f4b3d7fa2af80 && \
      apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub && \
  