-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
35 lines (31 loc) · 1.88 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
FROM ubuntu:focal
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install --yes --quiet \
dirmngr gnupg apt-transport-https ca-certificates software-properties-common
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
RUN add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install --yes --quiet \
r-base
RUN DEBIAN_FRONTEND=noninteractive apt install --yes --quiet \
pandoc
RUN DEBIAN_FRONTEND=noninteractive apt install --yes --quiet \
graphviz libgraphviz-dev libgsl-dev libcurl4-openssl-dev libssl-dev libxml2-dev
RUN Rscript -e 'install.packages("BiocManager")'
RUN Rscript -e 'BiocManager::install(c("bnlearn", "pcalg", "kpcalg"))'
RUN Rscript -e 'install.packages("Rcpp", repos="http://cran.us.r-project.org")'
RUN Rscript -e 'install.packages("Matching", repos="http://cran.us.r-project.org")'
RUN Rscript -e 'install.packages("MASS", repos="http://cran.us.r-project.org")'
RUN Rscript -e 'install.packages("momentchi2", repos="http://cran.us.r-project.org")'
RUN Rscript -e 'install.packages("gert", repos="http://cran.us.r-project.org")'
RUN Rscript -e 'install.packages("devtools", repos="http://cran.us.r-project.org")'
RUN Rscript -e 'devtools::install_github("Diviyan-Kalainathan/RCIT")'
RUN Rscript -e 'install.packages("https://cran.r-project.org/src/contrib/Archive/SID/SID_1.0.tar.gz")'
RUN apt install --yes --quiet python3-pip
RUN pip install pygraphviz
RUN pip install keras tensorflow rpy2 cdt pcalg torch
RUN apt install --yes --quiet python3
RUN python3 -m pip install --upgrade pip
RUN pip install sphinx_rtd_theme nbsphinx
RUN apt install --yes --quiet git
RUN pip install 'git+https://github.com/petergtz/sphinx-multiversion.git@override-version-with-refname'
RUN pip install xgboost
RUN pip install pydata-sphinx-theme