Skip to content

Commit

Permalink
move conda installs to the end
Browse files Browse the repository at this point in the history
  • Loading branch information
edoyango authored May 28, 2024
1 parent 4e1c50c commit 980d64f
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions Docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
FROM continuumio/miniconda3:24.3.0-0

# install packages
RUN conda update --all -c conda-forge --override-channels && \
conda install -c bioconda -c conda-forge --override-channels -y \
bcftools=1.13 \
bwa=0.7.17 \
samtools=1.16.1 \
fastqc=0.11.8-0 \
multiqc=1.12.0 && conda clean -ay

# install R4.4 from r repos since conda doesn't yet have 4.4
RUN apt-get update && apt-get install gpg -y
RUN echo "deb http://cloud.r-project.org/bin/linux/debian bullseye-cran40/" >> /etc/apt/sources.list && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B8F25A8A73EACF41 && apt-get update && apt-get install r-base-dev -y && apt-get clean
Expand All @@ -33,3 +24,13 @@ RUN wget https://github.com/PapenfussLab/gridss/releases/download/v2.13.2/gridss
RUN wget https://github.com/PapenfussLab/gridss/releases/download/v2.13.2/gridss-2.13.2-gridss-jar-with-dependencies.jar -O /opt/gridss/gridss.jar
ENV PATH="/opt/gridss:$PATH"
ENV GRIDSS_JAR=/opt/gridss/gridss.jar


# install remaining packages with conda
RUN conda update --all -c conda-forge --override-channels && \
conda install -c bioconda -c conda-forge --override-channels -y \
bcftools=1.13 \
bwa=0.7.17 \
samtools=1.16.1 \
fastqc=0.11.8-0 \
multiqc=1.12.0 && conda clean -ay

0 comments on commit 980d64f

Please sign in to comment.