anchor.diff:  ENV PROJECT_HOME=/Agile_Data_Code_2
   RUN pip install --upgrade pip && \
       pip install -r requirements.txt
  -
  -#
  -# Download the data
  -#
  -WORKDIR /root/Agile_Data_Code_2/data
  -
  -# On-time performance records
  -ADD http://s3.amazonaws.com/agile_data_science/On_Time_On_Time_Performance_2015.csv.gz /root/Agile_Data_Code_2/data/On_Time_On_Time_Performance_2015.csv.gz
  -
  -# Openflights data
  -ADD https://raw.githubusercontent.com/jpatokal/openflights/master/data/airports.dat /root/Agile_Data_Code_2/data/airports.dat
  -ADD https://raw.githubusercontent.com/jpatokal/openflights/master/data/airlines.dat /root/Agile_Data_Code_2/data/airlines.dat
  -ADD https://raw.githubusercontent.com/jpatokal/openflights/master/data/routes.dat /root/Agile_Data_Code_2/data/routes.dat
  -ADD https://raw.githubusercontent.com/jpatokal/openflights/master/data/countries.dat /root/Agile_Data_Code_2/data/countries.dat
  -
  -# FAA data
  -ADD http://av-info.faa.gov/data/ACRef/tab/aircraft.txt /root/Agile_Data_Code_2/data/aircraft.txt
  -ADD http://av-info.faa.gov/data/ACRef/tab/ata.txt /root/Agile_Data_Code_2/data/ata.txt
  -ADD http://av-info.faa.gov/data/ACRef/tab/compt.txt /root/Agile_Data_Code_2/data/compt.txt
  -ADD http://av-info.faa.gov/data/ACRef/tab/engine.txt /root/Agile_Data_Code_2/data/engine.txt
  -ADD http://av-info.faa.gov/data/ACRef/tab/prop.txt /root/Agile_Data_Code_2/data/prop.txt
  -
  -# WBAN Master List
  -ADD http://www.ncdc.noaa.gov/homr/file/wbanmasterlist.psv.zip /tmp/wbanmasterlist.psv.zip
  -ADD https://www.ncdc.noaa.gov/orders/qclcd/QCLCD201501.zip /tmp/QCLCD201501.zip
  -ADD https://www.ncdc.noaa.gov/orders/qclcd/QCLCD201502.zip /tmp/QCLCD201502.zip
  -ADD https://www.ncdc.noaa.gov/orders/qclcd/QCLCD201503.zip /tmp/QCLCD201503.zip
  -ADD https://www.ncdc.noaa.gov/orders/qclcd/QCLCD201504.zip /tmp/QCLCD201504.zip
  -ADD https://www.ncdc.noaa.gov/orders/qclcd/QCLCD201505.zip /tmp/QCLCD201505.zip
  -ADD https://www.ncdc.noaa.gov/orders/qclcd/QCLCD201506.zip /tmp/QCLCD201506.zip
  -ADD https://www.ncdc.noaa.gov/orders/qclcd/QCLCD201507.zip /tmp/QCLCD201507.zip
  -ADD https://www.ncdc.noaa.gov/orders/qclcd/QCLCD201508.zip /tmp/QCLCD201508.zip
  -ADD https://www.ncdc.noaa.gov/orders/qclcd/QCLCD201509.zip /tmp/QCLCD201509.zip
  -ADD https://www.ncdc.noaa.gov/orders/qclcd/QCLCD201510.zip /tmp/QCLCD201510.zip
  -ADD https://www.ncdc.noaa.gov/orders/qclcd/QCLCD201511.zip /tmp/QCLCD201511.zip
  -ADD https://www.ncdc.noaa.gov/orders/qclcd/QCLCD201512.zip /tmp/QCLCD201512.zip
  -
  -RUN unzip -o /tmp/wbanmasterlist.psv.zip && \
  -    gzip wbanmasterlist.psv && \
  -    rm -f /tmp/wbanmasterlist.psv.zip && \
  -    unzip -o /tmp/QCLCD201501.zip && \
  -    gzip 201501*.txt && \
  -    rm -f /tmp/QCLCD201501.zip && \
  -    unzip -o /tmp/QCLCD201502.zip && \
  -    gzip 201502*.txt && \
  -    rm -f /tmp/QCLCD201502.zip && \
  -    unzip -o /tmp/QCLCD201503.zip && \
  -    gzip 201503*.txt && \
  -    rm -f /tmp/QCLCD201503.zip && \
  -    unzip -o /tmp/QCLCD201504.zip && \
  -    gzip 201504*.txt && \
  -    rm -f /tmp/QCLCD201504.zip && \
  -    unzip -o /tmp/QCLCD201505.zip && \
  -    gzip 201505*.txt && \
  -    rm -f /tmp/QCLCD201505.zip && \
  -    unzip -o /tmp/QCLCD201506.zip && \
  -    gzip 201506*.txt && \
  -    rm -f /tmp/QCLCD201506.zip && \
  -    unzip -o /tmp/QCLCD201507.zip && \
  -    gzip 201507*.txt && \
  -    rm -f /tmp/QCLCD201507.zip && \
  -    unzip -o /tmp/QCLCD201508.zip && \
  -    gzip 201508*.txt && \
  -    rm -f /tmp/QCLCD201508.zip && \
  -    unzip -o /tmp/QCLCD201509.zip && \
  -    gzip 201509*.txt && \
  -    rm -f /tmp/QCLCD201509.zip && \
  -    unzip -o /tmp/QCLCD201510.zip && \
  -    gzip 201510*.txt && \
  -    rm -f /tmp/QCLCD201510.zip && \
  -    unzip -o /tmp/QCLCD201511.zip && \
  -    gzip 201511*.txt && \
  -    rm -f /tmp/QCLCD201511.zip && \
  -    unzip -o /tmp/QCLCD201512.zip && \
  -    gzip 201512*.txt && \
  -    rm -f /tmp/QCLCD201512.zip
  -
  -# Back to /root
   WORKDIR /root
   
   #
  
positive.code: RUN /root/mongo-hadoop/gradlew jar
  WORKDIR /root
  RUN cp /root/mongo-hadoop/spark/build/libs/mongo-hadoop-spark-*.jar /root/Agile_Data_Code_2/lib/ && \
      cp /root/mongo-hadoop/build/libs/mongo-hadoop-*.jar /root/Agile_Data_Code_2/lib/ && \
      rm -rf /root/mongo-hadoop
  
  # Install pymongo_spark
  WORKDIR /root/mongo-hadoop/spark/src/main/python
  
negative.code: #
  # Install Mongo, Mongo Java driver, and mongo-hadoop and start MongoDB
  #
  RUN echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" > /etc/apt/sources.list.d/mongodb-org-3.4.list
  RUN apt-get update && \
      apt-get install -y --allow-unauthenticated mongodb-org && \
      mkdir -p /data/db
  # apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 && \
  RUN /usr/bin/mongod --fork --logpath /var/log/mongodb.log
  
  # Get the MongoDB Java Driver and put it in Agile_Data_Code_2
  ADD http://central.maven.org/maven2/org/mongodb/mongo-java-driver/3.4.0/mongo-java-driver-3.4.0.jar /tmp/mongo-java-driver-3.4.0.jar
  