Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
evanbiederstedt authored Feb 3, 2021
1 parent cc341d7 commit a6e1b02
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
FROM rocker/tidyverse:3.5.1
FROM rocker/tidyverse:4.0.1

LABEL authors="Viktor Petukhov <viktor.s.petuhov@ya.ru>, Evan Biederstedt <evan.biederstedt@gmail.com>" \
version.image="1.0.0" \
version.pagoda2="1.0.0" \
description="tidyverse image R 4.0.1 to run pagoda2 with Rstudio"


## Cairo dependencies
RUN apt-get update && apt-get install libxt-dev mesa-common-dev -y

## Cairo needed for scde
## RUN R -e "install.packages('Cairo',dependencies=TRUE, repos='http://cran.rstudio.com/')"
RUN R -e 'chooseCRANmirror(ind=52); install.packages("BiocManager")'
RUN R -e 'BiocManager::install(c("AnnotationDbi", "BiocGenerics", "GO.db", "pcaMethods", "org.Dr.eg.db", "org.Hs.eg.db", "org.Mm.eg.db"))'
RUN R -e 'devtools::install_github("kharchenkolab/pagoda2")'
RUN R -e 'BiocManager::install(c("AnnotationDbi", "BiocGenerics", "GO.db", "pcaMethods", "org.Dr.eg.db", "org.Hs.eg.db", "org.Mm.eg.db", "scde", "BiocParallel"))'


RUN R -e "install.packages('p2data',dependencies=TRUE, repos='https://kharchenkolab.github.io/drat/', type='source')"

RUN R -e "install.packages('pagoda2',dependencies=TRUE, repos='http://cran.rstudio.com/')"

0 comments on commit a6e1b02

Please sign in to comment.