anchor.diff:      && make py \
       && make extra \
       && make install INSTALL_DIR=/usr/local \
  -    && make clean && echo up
  +    && make clean
   
   # The Tractor
   RUN cd /src \
  
positive.code:     libeigen3-dev \
      libgoogle-glog-dev \
      libceres-dev \
      g++ \
      python3 \
      python3-dev \
      python3-pip \
      python3-pil \
      python3-tk \
      # # Remove APT files
      && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  
  # multiprocessing.pool from official python 3.6.8 release
  # The python 3.6.7 version shipped in current Ubuntu 18.04 breaks the
  # Astrometry.net "timingpool" class.  This changed from 3.6.6 to 3.6.7 and
  # then was reverted in 3.6.8.
  COPY pool.py /usr/lib/python3.6/multiprocessing/pool.py
  
  # Python related stuff
  RUN echo "../site-packages" > /usr/local/lib/python3.6/dist-packages/site-packages.pth
  
  # Pip installs
  RUN for x in \
      setuptools \
      wheel \
      intel-numpy \
      intel-scipy \
      psycopg2 \
      fitsio \
      matplotlib \
  
negative.code:     && cd qdo \
      && python3 setup.py install
  
  # Legacypipe
  RUN cd /src \
      && git clone http://github.com/legacysurvey/legacypipe.git legacypipe
  