forked from StuartWheater/dsBase_base
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdsBase_Dockerfile
More file actions
30 lines (25 loc) · 1.5 KB
/
dsBase_Dockerfile
File metadata and controls
30 lines (25 loc) · 1.5 KB
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
FROM cimg/base:current
RUN sudo apt-get update -y
RUN sudo apt-get upgrade -y
RUN sudo apt-get install --no-install-recommends software-properties-common dirmngr
RUN wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
RUN sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
RUN sudo apt-get update -qq
RUN sudo apt-get install -qq pkg-config -y
RUN sudo apt-get install -qq libxml2-dev libcurl4-openssl-dev libssl-dev libgit2-dev libharfbuzz-dev libfribidi-dev -y
RUN sudo apt-get install -qq --no-install-recommends r-base -y
RUN sudo apt-get update -y
RUN sudo apt-get upgrade -y
RUN sudo R -e "install.packages('devtools', dependencies=TRUE)"
RUN sudo R -e "install.packages('RANN', dependencies=TRUE)"
RUN sudo R -e "install.packages('stringr', dependencies=TRUE)"
RUN sudo R -e "install.packages('lme4', dependencies=TRUE)"
RUN sudo R -e "install.packages('dplyr', dependencies=TRUE)"
RUN sudo R -e "install.packages('reshape2', dependencies=TRUE)"
RUN sudo R -e "install.packages('polycor', dependencies=TRUE)"
RUN sudo R -e "install.packages('splines', dependencies=TRUE)"
RUN sudo R -e "install.packages('gamlss', dependencies=TRUE)"
RUN sudo R -e "install.packages('gamlss.dist', dependencies=TRUE)"
RUN sudo R -e "install.packages('mice', dependencies=TRUE)"
RUN sudo R -e "install.packages('data.table', dependencies=TRUE)"
RUN sudo R -e "install.packages('childsds', dependencies=TRUE)"