-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathDockerfile
29 lines (25 loc) · 923 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM rocker/r-base
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libcurl4-gnutls-dev \
libssl-dev \
libxml2-dev \
pandoc \
gawk \
tar \
sed \
unzip \
bzip2
# install R packages
RUN Rscript -e "source('https://bioconductor.org/biocLite.R');biocLite('BiocInstaller')" \
&& Rscript -e "install.packages('devtools')" \
&& Rscript -e "devtools::install_github('drisso/SingleCellExperiment')" \
&& Rscript -e "devtools::install_github('grimbough/Rhdf5lib')" \
&& Rscript -e "devtools::install_github('LTLA/beachmat')" \
&& Rscript -e "devtools::install_github('davismcc/scater')" \
&& Rscript -e "install.packages('rmarkdown')" \
&& Rscript -e "install.packages('knitr')"
# add our scripts
ADD . /
# run scripts
CMD bash build.sh