anchor.diff:      luarocks make rocks/rnn-scm-1.rockspec && \
       cd /opt/work
   
  -#Caffe prepare
  -RUN apt-get install -y libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler && \
  -    apt-get install -y libopencv-dev libopencv-contrib-dev && \
  -    apt-get install -y --no-install-recommends libboost-all-dev && \
  -    apt-get install -y libatlas-base-dev && \
  -    apt-get install -y python-dev python-pip gfortran-7 && \
  -    apt-get install -y libgflags-dev libgoogle-glog-dev liblmdb-dev && \
  -    apt-get install -y --no-install-recommends build-essential tcl tk gettext autoconf zlib1g-dev gcc && \
  -    apt-get install -y --no-install-recommends python-dev python3-dev libcurl4-openssl-dev 
  -
  -#Caffe
  -RUN git clone https://github.com/BVLC/caffe.git && \
  -    cd /opt/work/caffe && \
  -    cp /opt/work/caffe/Makefile.config.example Makefile.config && \
  -    echo "CPU_ONLY := 1" >> Makefile.config && \
  -    export ANACONDA_HOME=/opt/work/conda/envs/py27 && \
  -    sed -i '71s/^[^#]/#&/' Makefile.config && \
  -    sed -i '76s/^#//' Makefile.config && \
  -    sed -i 's/# $(ANA/$(ANA/g' Makefile.config && \
  -    sed -i '86s/^[^#]/#&/' Makefile.config && \
  -    sed -i '87s/^#//' Makefile.config && \
  -    sed -i 's/LIBRARIES += opencv_core opencv_highgui opencv_imgproc/LIBRARIES += opencv_core opencv_highgui opencv_imgproc opencv_imgcodecs/g' Makefile && \
  -    apt-get install -y software-properties-common && \
  -    add-apt-repository ppa:ubuntu-toolchain-r/test && \
  -    apt update && \
  -    apt install g++-7 -y && \
  -    update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 \
  -                         --slave /usr/bin/g++ g++ /usr/bin/g++-7 && \
  -    update-alternatives --config gcc && \
  -    /bin/bash -c "source activate py27 && \
  -        easy_install -U pytest && \
  -        pip install -r /opt/work/caffe/python/requirements.txt && \
  -        ln -s /opt/work/conda/envs/py27/lib/python2.7 /usr/local/include/python2.7 && \
  -        ln -s /opt/work/conda/envs/py27/lib/python2.7/site-packages/numpy/core/include/numpy /usr/local/include/python2.7/numpy && \
  -        make all -j4 && make pycaffe && make distribute && \
  -        make test && \
  -        cd /opt/work && \
  -        export PYTHONPATH=${CAFFE_HOME}/python:${CAFFE_HOME}/distribute/python:${PYTHONPATH} && \
  -        ln /dev/null /dev/raw1394 && \
  -        source deactivate"
  -
   CMD ["/opt/work/jenkins/run-slave.sh"]
  
positive.code:     conda install -y -n py35 --channel https://conda.anaconda.org/menpo opencv3==3.1.0 && \
      conda install -y -n py35 -c mingfeima mkldnn==0.16.1 && \
      conda install -y -n py35 -c pytorch pytorch-cpu==1.0.0 torchvision-cpu==0.2.1 && \
      /bin/bash -c "source activate py35 && pip install onnx==1.3.0 && \
          pip install ray==0.7.0 && \
          pip install conda-pack==0.3.1 && \
          pip install psutil==5.6.2 && \
          pip install aiohttp==3.5.4 && \
          pip install setproctitle==1.1.10 && \
          source deactivate" && \
  #py36
      conda create -y -n py36 python=3.6 && \
      conda install -y -n py36 -c conda-forge \
  
negative.code:     chmod a+x /opt/work/jenkins/slave.groovy && \
      wget http://repo.jenkins-ci.org/releases/org/jenkins-ci/main/remoting/3.14/remoting-3.14.jar && \
      mv remoting-3.14.jar ${JENKINS_HOME} && \
  
  #spark 2.1.3 2.2.2 2.3.2 2.4.3
      wget http://archive.apache.org/dist/spark/spark-2.1.3/spark-2.1.3-bin-hadoop2.7.tgz && \
      tar -xf spark-2.1.3-bin-hadoop2.7.tgz -C /opt/work && \
      rm spark-2.1.3-bin-hadoop2.7.tgz && \
  