-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
75 lines (70 loc) · 1.56 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
63
64
65
66
67
68
69
70
71
72
73
74
75
FROM r-base
MAINTAINER Eamon O'Dea <[last name without apostrophe]35@gmail.com>
RUN apt-get update && apt-get install -y -q --no-install-recommends \
ghostscript \
libgdal1-dev \
libgfortran-5-dev \
# ^needed for some R packages to build
libproj-dev \
openssh-server \
poppler-utils \
python3-lxml \
python3-pkg-resources \
python3-pandas \
r-cran-car \
r-cran-coda \
r-cran-doparallel \
r-cran-ggplot2 \
r-cran-hmisc \
r-cran-igraph \
r-cran-lme4 \
r-cran-maps \
r-cran-mapproj \
r-cran-maptools \
r-cran-polspline \
r-cran-plyr \
r-cran-pscl \
r-cran-rcolorbrewer \
r-cran-reshape \
r-cran-reshape2 \
r-cran-rgl \
r-cran-scales \
r-cran-sp \
r-cran-surveillance \
r-cran-testthat \
r-cran-vcd \
r-cran-vegan \
r-cran-xml
RUN install2.r --error \
c060 \
DiceDesign \
DiceEval \
DiceKriging \
DiceView \
DescTools \
devtools \
ff \
fields \
geoR \
GGally \
glmnet \
gridBase \
grImport \
knitr \
lhs \
mda \
pander \
randtoolbox \
raster \
rgdal \
rgenoud \
sensitivity \
&& rm -rf /tmp/download_packages/ /tmp/*.rds
RUN install2.r --error R2admb \
&& install2.r --repos http://glmmadmb.r-forge.r-project.org/repos --error glmmADMB \
&& install2.r --repos http://www.math.mcmaster.ca/bolker/R --error coefplot2 \
&& rm -rf /tmp/download_packages/ /tmp/*.rds
RUN mkdir /var/run/sshd && echo 'docker:screencast' | chpasswd \
&& sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]