Skip to content

Commit

Permalink
fix: set channel priority in container system wide (#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed May 31, 2022
1 parent 503c70c commit 41175b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -8,7 +8,7 @@ ENV SHELL /bin/bash
RUN install_packages wget curl bzip2 ca-certificates gnupg2 squashfs-tools git
RUN /bin/bash -c "curl -L https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh > mambaforge.sh && \
bash mambaforge.sh -b -p /opt/conda && \
conda config --set channel_priority strict && \
conda config --system --set channel_priority strict && \
rm mambaforge.sh"
RUN /bin/bash -c "mamba create -q -y -c conda-forge -c bioconda -n snakemake snakemake snakemake-minimal --only-deps && \
source activate snakemake && \
Expand Down

0 comments on commit 41175b3

Please sign in to comment.