anchor.diff: -FROM nanshe/nanshe_notebook:sge
  +FROM nanshe/nanshe_notebook:latest
   MAINTAINER John Kirkham <jakirkham@gmail.com>
   
   ADD nanshe_workflow /nanshe_workflow
  
positive.code:     echo -e "    cd /nanshe_workflow && " >> /tmp/test.sh && \
      echo -e "    export CORES=2 " >> /tmp/test.sh && \
      echo -e "    python${PYTHON_VERSION} setup.py test && " >> /tmp/test.sh && \
      echo -e "    (qdel -f -u root || true) && " >> /tmp/test.sh && \
      echo -e "    qstat && " >> /tmp/test.sh && \
      echo -e "    service sge_execd stop && " >> /tmp/test.sh && \
      echo -e "    service sgemaster stop && " >> /tmp/test.sh && \
      echo -e "    git clean -fdx && " >> /tmp/test.sh && \
      echo -e "    rm -rf ~/ipcontroller.o* && " >> /tmp/test.sh && \
      echo -e "    rm -rf ~/ipcontroller.e* && " >> /tmp/test.sh && \
  
negative.code:     echo -e "done" >> /tmp/test.sh && \
      /usr/share/docker/entrypoint.sh \
      /usr/share/docker/entrypoint_2.sh \
      /tmp/test.sh && \
      rm /tmp/test.sh
  
  WORKDIR /nanshe_workflow
  ENTRYPOINT [ "/opt/conda/bin/tini", "--", "/usr/share/docker/entrypoint.sh", "/usr/share/docker/entrypoint_2.sh", "python3", "-m", "notebook", "--allow-root", "--no-browser", "--ip=*" ]
  