anchor.diff:  RUN mkdir /root/.qdo && echo "[qdo]" > /root/.qdo/qdorc
   RUN python -c "import astropy"
   
  -RUN    python    -m compileall /usr/local/lib/python/astrometry \
  -    && python -O -m compileall /usr/local/lib/python/astrometry \
  -    && python    -m compileall /usr/local/lib/python/tractor \
  -    && python -O -m compileall /usr/local/lib/python/tractor
  -
  -RUN cd /src/legacypipe/py && git pull && git describe && echo 4
  -
  -RUN    python    -m compileall /src/legacypipe/py \
  -    && python -O -m compileall /src/legacypipe/py \
  -    && python    -m compileall /src/unwise_psf/py/unwise_psf.py \
  +# yuck
  +#RUN wget https://raw.githubusercontent.com/dstndstn/astrometry.net/master/util/EXIF.py \
  +#    && mv EXIF.py /usr/local/lib/python/astrometry/util/
  +
  +RUN    python    -m compileall /src/unwise_psf/py/unwise_psf.py \
       && python -O -m compileall /src/unwise_psf/py/unwise_psf.py
   
  -RUN cd /src/legacypipe/py && git pull && git describe && echo 5
  -
  -RUN apt update && apt install --no-install-recommends -y vim && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  +RUN wget https://raw.githubusercontent.com/dstndstn/tractor/speedup/tractor/engine.py \
  +    && mv engine.py /usr/local/lib/python/tractor/
  +
  +RUN cd /src/legacypipe/py && git pull && git checkout speedup
  +
  +RUN    python    -m compileall /src/legacypipe/py/{legacypipe,legacyzpts} \
  +    && python -O -m compileall /src/legacypipe/py/{legacypipe,legacyzpts}
  +
  +RUN python -O -m compileall /usr/lib/python3.5 /usr/lib/python3/dist-packages /usr/local/lib/python /usr/local/lib/python3.5/site-packages /usr/local/lib/python3.5/dist-packages && \
  +    python    -m compileall /usr/lib/python3.5 /usr/lib/python3/dist-packages /usr/local/lib/python /usr/local/lib/python3.5/site-packages /usr/local/lib/python3.5/dist-packages
  +    
  +RUN wget https://raw.githubusercontent.com/dstndstn/tractor/speedup/tractor/engine.py \
  +    && mv engine.py /usr/local/lib/python/tractor/ \
  +    && python    -m compileall /usr/local/lib/python/tractor/engine.py \
  +    && python -O -m compileall /usr/local/lib/python/tractor/engine.py
  +    
positive.code:     file \
      pkg-config \
      gdb \
      less \
      wget \
      netpbm \
  
negative.code: # The Tractor
  RUN git clone http://github.com/dstndstn/tractor.git tractor \
      && cd tractor \
      && git checkout speedup \
      && make \
      && make ceres \
      && make install INSTALL_DIR=/usr/local \
      && rm -R $(find . -name "*.o" -o -name "*.so")
  
  ######## Stage 2 ########
  FROM registry.services.nersc.gov/nersc/intel_cxx_fort_mpi_mkl_runtime
  