anchor.diff:  RUN apt update && apt install --no-install-recommends python-dev python-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 \
  -    && chown -R $GALAXY_GROUP:$GALAXY_USER $GALAXY_ROOT \
       && cd $GALAXY_ROOT \
       && ./scripts/common_startup.sh \
       && . $GALAXY_ROOT/.venv/bin/activate && pip install psycopg2 \
  
positive.code:     && conda config --add channels bioconda \
      && conda config --add channels conda-forge \
      && conda install virtualenv pip ephemeris \
      && chown $GALAXY_GROUP:$GALAXY_USER -R $GALAXY_CONFIG_TOOL_DEPENDENCY_DIR /etc/profile.d/conda.sh \
      && conda clean --packages -t -i \
      && find / -name '*.pyc' -delete | true
  
  
negative.code: COPY --from=build_galaxy ${GALAXY_ROOT} ${GALAXY_ROOT}
  COPY --from=build_miniconda ${GALAXY_CONFIG_TOOL_DEPENDENCY_DIR} ${GALAXY_CONFIG_TOOL_DEPENDENCY_DIR}
  COPY --from=build_miniconda ${GALAXY_HOME} ${GALAXY_HOME}
  COPY --from=build_miniconda /etc/profile.d/conda.sh /etc/profile.d/conda.sh
  
  # Set permissions
  RUN groupadd -r $GALAXY_USER -g $GALAXY_GID \
      && useradd -u $GALAXY_UID -r -g $GALAXY_USER -d $GALAXY_HOME -c "Galaxy user" --shell /bin/bash $GALAXY_USER \
      && chown -R $GALAXY_USER:$GALAXY_USER $GALAXY_HOME $GALAXY_ROOT $GALAXY_CONFIG_TOOL_DEPENDENCY_DIR /etc/profile.d/conda.sh
  
  COPY ./files/job_conf.xml ${GALAXY_CONFIG_DIR}/job_conf.xml
  COPY ./files/galaxy.yml /${GALAXY_CONFIG_DIR}/galaxy.yml
  