anchor.diff: -FROM debian:jessie
  +FROM debian:stretch
   
   MAINTAINER MacArthur Lab
   
  
positive.code: RUN apt-get update \
      && curl -sL https://deb.nodesource.com/setup_8.x | bash - \
      && apt-get install -y \
          nodejs
  
  # install database clients for debugging
  RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' >> /etc/apt/sources.list.d/postgresql.list \
      && wget --no-check-certificate -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O- | apt-key add - \
      && apt-get update && apt-get install -y \
          postgresql \
          postgresql-client \
          libpq-dev
  
  RUN apt-get update && apt-get install -y \
      redis-tools
  
  # install gcloud tools
  RUN CLOUDSDK_CORE_DISABLE_PROMPTS=1 \
      && curl https://sdk.cloud.google.com | bash \
      && apt-get update && apt-get install -y \
          gcc \
          python-dev \
          python-setuptools \
          libffi-dev \
          libssl-dev \
          libpq-dev \
      && pip install gsutil
  
  RUN CLOUDSDK_CORE_DISABLE_PROMPTS=1 \
  
negative.code:     && apt-get clean \
      && rm -rf /var/lib/apt/lists/*
  
  #  install the packages necessary to build Python source:
  RUN apt update && apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev \
      libnss3-dev libssl-dev libreadline-dev libffi-dev libbz2-dev \
      libncursesw5-dev libsqlite3-dev tk-dev libc6-dev ca-certificates \
      && apt-get clean \
      && rm -rf /var/lib/apt/lists/*
  
  # downland and install Python from soruce code
  RUN PYTHON_VERSION="3.7.8" \
      && curl -O https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz \
      && tar -xf Python-$PYTHON_VERSION.tar.xz \
      && rm -f Python-$PYTHON_VERSION.tar.xz \
      && cd ./Python-$PYTHON_VERSION \
      && ./configure --enable-optimizations \
      && make -j $(nproc) \
      && make install \
      && cd .. \
      && rm -rf ./Python-$PYTHON_VERSION \
      && ln -s /usr/local/bin/pip3.7 /usr/local/bin/pip \
      && ln -s /usr/local/bin/python3.7 /usr/local/bin/python
  
  # install dependencies of the HaploPainter.pl script used to generate static pedigree images
  RUN apt-get update && apt-get install -y --no-install-recommends \
  