anchor.diff:  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
   
  -# Install CVMFS
  -RUN apt update \
  -    && apt install wget lsb-release -y \
  -    && wget https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest_all.deb \
  -    && dpkg -i cvmfs-release-latest_all.deb \
  -    && rm -f cvmfs-release-latest_all.deb \
  -    && apt update \
  -    && apt install --no-install-recommends cvmfs -y \
  -    && rm -rf /var/lib/apt/lists/* \
  -    && mkdir /srv/cvmfs
  -COPY files/cvmfs/default.local /etc/cvmfs/default.local
  -COPY files/cvmfs/galaxyproject.org.conf /etc/cvmfs/domain.d/galaxyproject.org.conf
  -COPY files/cvmfs/data.galaxyproject.org.pub /etc/cvmfs/keys/data.galaxyproject.org.pub
  -
  -RUN apt update && apt install --no-install-recommends ca-certificates netcat libpq-dev mercurial libgomp1  -y \
  -    && rm -rf /var/lib/apt/lists/* \
  -    && groupadd -r $GALAXY_USER -g $GALAXY_GID \
  +# 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
  +    && 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
  
positive.code:     && chown -R $GALAXY_USER:$GALAXY_USER $GALAXY_HOME
  
  FROM build_base as build_miniconda
  
  # Install Miniconda
  RUN curl -s -L "https://repo.anaconda.com/miniconda/Miniconda2-${MINICONDA_VERSION}-Linux-x86_64.sh" > ~/miniconda.sh \
      && /bin/bash ~/miniconda.sh -b -p $GALAXY_CONDA_PREFIX \
  
negative.code:     && conda config --add channels bioconda \
      && conda config --add channels conda-forge \
      && conda install virtualenv pip ephemeris \
      && conda clean --packages -t -i \
      && find / -name '*.pyc' -delete | true
  
  