-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
41 lines (38 loc) · 1.38 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
FROM rocker/tidyverse:latest
## Install packages we need like compilers and python
RUN apt-get update -qq && apt-get -y --no-install-recommends install \
autoconf \
automake \
g++ \
gcc \
gfortran \
make \
&& apt-get clean all \
&& rm -rf /var/lib/apt/lists/*
## Add some config settings for building R packages (compiler options)
RUN mkdir -p $HOME/.R
COPY Makevars /root/.R/Makevars
## Install R packages
# This example shows how to install packages from:
#
# - CRAN-like repos using install.packages()
# - Bioconductor using biocLite()
# - Github using devtools and install_github()
RUN Rscript -e "install.packages('glmnet')" \
-e "install.packages('pamr')" \
-e "install.packages('ggplot2')" \
-e "install.packages('survival')" \
-e "source('http://bioconductor.org/biocLite.R')" \
-e "biocLite('flowCore')" \
-e "biocLite('impute')" \
-e 'biocLite("cytofkit")' \
-e "install.packages('samr')" \
-e "install.packages('shiny')" \
-e "install.packages('brew')" \
-e "install.packages('Matrix')" \
-e "install.packages(c('Rcpp','RcppEigen'),type='source')" \
-e "install.packages('devtools')" \
-e "library('devtools')" \
-e "install_github('nolanlab/Rclusterpp')" \
-e "install_github('nolanlab/citrus')" \
&& rm -rf /tmp/downloaded_packages