-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
executable file
·62 lines (50 loc) · 1.99 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
FROM rocker/verse:3.5.1
RUN sudo apt-get install -f -y libmagick++-dev
RUN R -e "install.packages('R.matlab')"
RUN R -e "install.packages('reticulate')"
RUN R -e "install.packages('forestplot')"
RUN R -e "install.packages('lme4')"
# Install python for processing matlab files
# and for extracting citation counts
RUN apt-get update && apt-get -y install \
python-virtualenv \
python-pip && \
pip install scipy
RUN apt-get install -y libpython-dev
RUN apt-get install -y libpython3-dev
# Install papaja
RUN wget https://github.com/crsh/papaja/archive/v0.1.0.9842.tar.gz
RUN R CMD INSTALL v0.1.0.9842.tar.gz
RUN rm v0.1.0.9842.tar.gz
# Fix latex stuff
RUN tlmgr update --self
RUN tlmgr install apa6 booktabs caption csquotes endfloat environ etoolbox fancyhdr fancyvrb framed lineno microtype mptopdf ms parskip pgf sttools threeparttable threeparttablex trimspaces txfonts upquote url was xcolor
RUN tlmgr install multirow
RUN tlmgr install float
RUN tlmgr update --self
RUN tlmgr install makecell
# Install stuff for running in parallel
RUN wget https://github.com/HenrikBengtsson/globals/archive/0.12.4.tar.gz
RUN R CMD INSTALL 0.12.4.tar.gz
RUN rm 0.12.4.tar.gz
RUN R -e "devtools::install_github('DavisVaughan/furrr')"
RUN pip install MechanicalSoup
RUN R -e "install.packages('pwr')"
RUN R -e "devtools::install_github('crsh/citr')"
RUN R -e "install.packages('english')"
RUN R -e "install.packages('magick')"
RUN R -e "install.packages('here')"
RUN R -e "install.packages('kableExtra')"
RUN tlmgr install biblatex
RUN tlmgr install logreq
RUN tlmgr install biber
RUN tlmgr update --self
RUN tlmgr search --file --global '/apa.dbx'
RUN tlmgr install biblatex-apa
RUN tlmgr path add
RUN tlmgr search --file --global '/biblatex-dm.cfg'
RUN wget https://www.dropbox.com/s/r10ep3p31jzsk0l/ReplicationProjectTools_0.0.0.9000.tar.gz
RUN R CMD INSTALL ReplicationProjectTools_0.0.0.9000.tar.gz
RUN rm ReplicationProjectTools_0.0.0.9000.tar.gz
RUN tlmgr install textgreek
RUN apt-get install -y texlive-fonts-extra