anchor.diff: -FROM nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04
  +FROM nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04 as mlbench-worker-dev
   # TODO: reduce size and complexity of image.
   
  -RUN apt-get update && apt-get install -y \
  +RUN apt-get update && apt-get install -y --no-install-recommends \
       gcc \
       make \
       libc-dev \
       musl-dev \
  -    openssh-server
  -
  -RUN apt-get update && apt-get install -y \
  -    g++
  -
  -RUN apt-get update && apt-get install -y \
  +    openssh-server \
  +    g++ \
       git \
       curl \
       sudo
  
positive.code:     git submodule update --init && \
      TORCH_CUDA_ARCH_LIST="3.5 3.7 5.2 6.0 6.1 7.0+PTX" TORCH_NVCC_FLAGS="-Xfatbin -compress-all" \
      CMAKE_PREFIX_PATH="$(dirname $(which conda))/../" \
      pip install -v .
  
  
  RUN git clone https://github.com/pytorch/vision.git && cd vision && pip install -v .
  
  RUN conda install -y -c conda-forge python-lmdb \
          opencv 
  
  RUN conda install -y -c conda-forge numpy
  
  RUN pip install -U git+https://github.com/ppwwyyxx/tensorpack.git
  
  
negative.code: # RUN conda install -y -c conda-forge tqdm 
  # # RUN conda install -y -c pchrapka zmq
  # # RUN conda install -c omnia termcolor
  
  # -------------------- patch --------------------
  # libGL.so.1 might be lost when nvidia driver is installed
  