anchor.diff:  FROM build_base as build_galaxy
   COPY ./files/common_cleanup.sh /usr/bin/common_cleanup.sh
   # Install Galaxy
  -RUN apt update && apt install --no-install-recommends python-dev python-pip -y && rm -rf /var/lib/apt/lists/* \
  -    && export GALAXY_PYTHON=/usr/bin/python \
  +RUN apt update && apt install --no-install-recommends python3-dev python3-pip -y && rm -rf /var/lib/apt/lists/* \
       && mkdir "${GALAXY_ROOT}" \
       && curl -L -s $GALAXY_REPO/archive/$GALAXY_RELEASE.tar.gz | tar xzf - --strip-components=1 -C $GALAXY_ROOT \
       && cd $GALAXY_ROOT \
       && ./scripts/common_startup.sh \
  -    && . $GALAXY_ROOT/.venv/bin/activate && pip install psycopg2 \
  -    # Fix as cheetah was missing C library first
  -    && pip uninstall cheetah -y \
  -    && pip install cheetah drmaa \
  +    && . $GALAXY_ROOT/.venv/bin/activate && pip3 install psycopg2 \
  +    && pip3 install drmaa \
       && deactivate \
       && rm -rf .ci .circleci .coveragerc .gitignore .travis.yml CITATION CODE_OF_CONDUCT.md CONTRIBUTING.md CONTRIBUTORS.md \
                 LICENSE.txt Makefile README.rst SECURITY_POLICY.md pytest.ini tox.ini \
  
positive.code: 
  ENV EXPORT_DIR=/export \
      GALAXY_ROOT=/galaxy \
      HTCONDOR_ROOT=/opt/htcondor \
      GALAXY_PYTHON=/usr/bin/python
  
  ENV GALAXY_RELEASE=${GALAXY_RELEASE:-release_19.05} \
      GALAXY_REPO=${GALAXY_REPO:-https://github.com/galaxyproject/galaxy} \
  
negative.code: 
  # Install remaining dependencies
  RUN apt update && apt install --no-install-recommends gcc gnupg2 libgomp1 liblzma-dev libbz2-dev libpq-dev \
                                                        mercurial make netcat python3-dev python3-setuptools python3-pip \
                                                        zlib1g-dev -y \
      && pip3 install Cython wheel \
      && pip3 install pysam \
      && /usr/bin/common_cleanup.sh
  
  # GALAXY_USER should be able to run docker without root permissions
  