Skip to content

Commit

Permalink
chore: use mamba install instead of mamba env install
Browse files Browse the repository at this point in the history
because mamba env install just uses conda

related to https://www.github.com/mamba-org/mamba/issues/633
  • Loading branch information
kelly-sovacool committed Apr 17, 2024
1 parent a63ce3f commit 2255b88
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 39 deletions.
11 changes: 6 additions & 5 deletions docker/carlisle_r/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ ARG REPONAME="000000"
ENV REPONAME=${REPONAME}

# install conda packages
COPY environment.yml /data2/
ENV CONDA_ENV=carlisle_r
RUN mamba env create -n ${CONDA_ENV} -f /data2/environment.yml && \
echo "conda activate ${CONDA_ENV}" > ~/.bashrc
ENV PATH="/opt2/conda/envs/${CONDA_ENV}/bin:$PATH"
COPY packages.txt /data2/
RUN mamba install \
--no-channel-priority \
-c bioconda -c conda-forge -c r \
--file /data2/packages.txt
ENV PATH="/opt2/conda/bin:$PATH"
ENV R_LIBS_USER=/opt2/conda/lib/R/library/

# Save Dockerfile in the docker
Expand Down
34 changes: 0 additions & 34 deletions docker/carlisle_r/environment.yml

This file was deleted.

28 changes: 28 additions & 0 deletions docker/carlisle_r/packages.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
bioconductor-bsgenome.hsapiens.ncbi.t2t.chm13v2.0
bioconductor-chipenrich
bioconductor-chipseeker
bioconductor-deseq2
bioconductor-edger
bioconductor-elbow
bioconductor-enhancedvolcano
bioconductor-genomicfeatures
bioconductor-htsfilter
bioconductor-org.Hs.eg.db
bioconductor-org.Mm.eg.db
bioconductor-rtracklayer
bioconductor-txdb.hsapiens.ucsc.hg19.knowngene
bioconductor-TxDb.Hsapiens.UCSC.hg38.knownGene
bioconductor-TxDb.Mmusculus.UCSC.mm10.knownGene
r-argparse
r-DT
r-ggfortify
r-ggvenn
r-htmltools
r-latticeextra
r-pander
r-pdp
r-plotly
r-rcolorbrewer
r-reshape2
r-tidyverse
r-yaml

0 comments on commit 2255b88

Please sign in to comment.