anchor.diff:      conda install python=3.7 pip numpy scipy && \
       conda clean -a -y
   
  -# Pip installs -- binary
  -RUN for x in \
  -    setuptools \
  -    wheel \
  -    psycopg2-binary \
  -    matplotlib \
  -    astropy \
  -    zmq \
  -    cython \
  -    ; do pip --no-cache-dir install $x; done
  -
   # ugly: Tractor's mp_fourier module detects the $CC='icc' exactly
   # These are in /opt/intel/bin, which is on the PATH.
   ENV CC icc
  
positive.code: ENV BLAS -L${MKLROOT}/lib/intel64 -lmkl_rt -fopenmp -lpthread -limf -lsvml -ldl
  ENV CPPFLAGS -I${MKLROOT}/include
  
  RUN git clone https://github.com/astromatic/sextractor.git sourceextractor \
      && cd sourceextractor \
      && sh autogen.sh \
  
negative.code: 
  # Pip installs -- built from source
  RUN pip --no-cache-dir install photutils
  RUN pip --no-cache-dir install git+https://github.com/esheldon/fitsio.git@v1.0.6
  # HACK -- update fitsio version number string
  RUN sed -i -e s/1.0.5/1.0.6/g /opt/conda/lib/python3.7/site-packages/fitsio/__init__.py
  
  RUN /sbin/ldconfig
  
  