Skip to content

Instantly share code, notes, and snippets.

@pcantalupo
Created March 8, 2020 15:35
Show Gist options
  • Save pcantalupo/b3019d024db110b418941b874460dacc to your computer and use it in GitHub Desktop.
Save pcantalupo/b3019d024db110b418941b874460dacc to your computer and use it in GitHub Desktop.
$ cat Dockerfile
FROM rocker/rstudio
RUN apt-get update && apt-get install -y libpng* libjpeg* libhdf5-dev libxml2-dev
RUN install2.r R.utils
RUN R -e "install.packages('https://cran.rstudio.com//src/contrib/Archive/SDMTools/SDMTools_1.1-221.2.tar.gz', repos = NULL)"
RUN install2.r BiocManager
RUN R -e "BiocManager::install('multtest')"
# installs Seurat 2.3.4
RUN R -e "source('https://z.umn.edu/archived-seurat')"
RUN install2.r roxygen2 rversions devtools
RUN R -e "BiocManager::install(c('SingleCellExperiment', 'scater', 'scmap'), update=FALSE)"
RUN R -e "devtools::install_github('pcantalupo/sct', upgrade = 'never')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment