Last active
July 8, 2026 12:25
-
-
Save simon-anders/a1d54f6b58a73d9206eacd382187260d to your computer and use it in GitHub Desktop.
Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Docker container with Monocle3 | |
| FROM debian:latest | |
| ARG NCORES=3 | |
| RUN apt-get update | |
| RUN apt-get install -y r-base-dev | |
| ARG BIOC_INSTALL_ARGS="Ncpus=$NCORES, verbose=TRUE" | |
| ARG R_INSTALL_ARGS="repos='https://cloud.r-project.org', $BIOC_INSTALL_ARGS" | |
| RUN Rscript -e "install.packages( 'BiocManager', $R_INSTALL_ARGS )" | |
| RUN Rscript -e "BiocManager::install( c( 'BiocGenerics', 'DelayedArray', 'DelayedMatrixStats', \ | |
| 'limma', 'lme4', 'S4Vectors', 'SingleCellExperiment', \ | |
| 'SummarizedExperiment', 'batchelor', 'HDF5Array', 'ggrastr' ), \ | |
| $BIOC_INSTALL_ARGS )" | |
| RUN Rscript -e "install.packages( 'devtools', $R_INSTALL_ARGS )" | |
| RUN Rscript -e "install.packages( 'remotes', $R_INSTALL_ARGS )" | |
| RUN apt-get install -y libhdf5-dev | |
| RUN Rscript -e "remotes::install_github( 'bnprks/BPCells/r', $BIOC_INSTALL_ARGS )" | |
| RUN Rscript -e "remotes::install_github( 'cole-trapnell-lab/monocle3', $BIOC_INSTALL_ARGS )" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment