anchor.diff:  RUN cd ${CONDA_HOME}/lib && \
       ln -s libnetcdf.so.11 libnetcdf.so.7 && \
       ln -s libkea.so.1.4.6 libkea.so.1.4.5 && \
  -    ln -s libhdf5_cpp.so.12 libhdf5_cpp.so.10
  +    ln -s libhdf5_cpp.so.12 libhdf5_cpp.so.10 && \
  +    ln -s libjpeg.so.9 libjpeg.so.8
   
   # Retrieve NEXUS code and build it.
   
  -WORkDIR /
  +WORKDIR /
   
   RUN git clone https://github.com/dataplumber/nexus.git
   
  
positive.code:     PYTHON_EGG_CACHE=/tmp
  
  ENV CONDA_HOME=${INSTALL_LOC}/anaconda2 \
      HADOOP_HOME=${INSTALL_LOC}/hadoop-${HADOOP_VERSION} \
      MESOS_HOME=${INSTALL_LOC}/mesos-${MESOS_VER} \
      HADOOP_PACKAGE=hadoop-${HADOOP_VERSION}.tar.gz \
      SPARK_DIR=spark-${SPARK_VERSION} \
      SPARK_PACKAGE=spark-${SPARK_VERSION}-bin-without-hadoop \
      MESOS_MASTER=mesos://${MESOS_IP}:${MESOS_PORT} \
      MESOS_PACKAGE=mesos-${MESOS_VER}.tar.gz
  
  
negative.code:     PYSPARK_PYTHON=${CONDA_HOME}/bin/python \
      PYSPARK_SUBMIT_ARGS="--driver-memory=4g pyspark-shell"
      
  ENV PYTHONPATH=${PYTHONPATH}:${SPARK_HOME}/python:${SPARK_HOME}/python/lib/py4j-0.10.4-src.zip:${SPARK_HOME}/python/lib/pyspark.zip \
      MESOS_NATIVE_JAVA_LIBRARY=${INSTALL_LOC}/lib/libmesos.so \
      SPARK_EXECUTOR_URI=${INSTALL_LOC}/${SPARK_PACKAGE}
      
  WORKDIR ${INSTALL_LOC}
  
  # Set up Spark
  
  