This repository has been archived by the owner on Feb 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathDockerfile
127 lines (124 loc) · 2.76 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
## Start with the rstudio image providing 'base R' as well as RStudio based on Debian testing
FROM rocker/geospatial
MAINTAINER Carl Boettiger cboettig@ropensci.org
## Refresh package list and upgrade
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
cdbs \
icedtea-netx \
libapparmor-dev \
libgsl0-dev \
libhiredis-dev \
libleptonica-dev \
libmpfr-dev \
libpoppler-cpp-dev \
libprotobuf-dev \
librdf0-dev \
libsasl2-dev \
libtesseract-dev \
libwebp-dev \
libxslt1-dev \
mdbtools \
protobuf-compiler \
python-pip \
python-pdftools \
tesseract-ocr-eng \
&& R CMD javareconf \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/ \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds \
&& wget -O /usr/local/bin/install2.r https://github.com/eddelbuettel/littler/raw/master/inst/examples/install2.r \
&& chmod +x /usr/local/bin/install2.r \
&& R CMD javareconf -e
## Install additional dependencies
RUN install2.r --error \
-r 'http://cran.rstudio.com' \
-r 'http://datacube.wu.ac.at' \
-r 'http://packages.ropensci.org' \
-r 'http://www.bioconductor.org/packages/release/bioc' \
-r 'http://nceas.github.io/drat' \
aws.s3 \
dismo \
drat \
geiger \
git2r \
knitcitations \
pander \
phylobase \
phytools \
Rcampdf \
redland \
rJava \
rhdf5 \
ropkgs \
ridigbio \
rgeolocate \
RJSONIO \
sangerseqR \
dataone \
datapack \
listviewer \
getPass \
dbplyr \
GGally \
Rserve \
RSclient \
Cairo \
dendextend \
IRdisplay \
outliers \
cranlogs \
akima \
mapdata \
plot3D \
memisc \
rapport \
RcppRedis \
mongolite \
countrycode \
redux \
rcdk \
MCMCglmm \
storr \
purrrlyr \
corrplot \
protolite \
tidytext \
janeaustenr \
wordcloud2 \
webp \
openair \
snow \
tmap \
forecast \
weathermetrics \
rnaturalearthhires \
rsvg \
clipr \
tiff \
sys \
Rmpfr \
plotKML \
readtext \
cld3 \
seqinr \
jose \
&& R -e "remotes::install_github('richfitz/drat.builder')" \
&& pip install retriever \
&& install2.r --error \
-r 'http://cran.rstudio.com' \
-r 'http://packages.ropensci.org' \
-r 'http://www.omegahat.net/R' \
Rcompression \
RHTMLForms \
ROOXML \
RWordXML \
SSOAP \
# Sxslt \
XMLSchema \
rrdflibs \
rrdf \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds
## Install the rOpenSci R packages that are currently on CRAN. must use single quote notation
RUN R -e 'out <- ropkgs::ro_pkgs(); readr::write_lines(out$packages$name[out$packages$on_cran], "ropensci.txt")' \
&& install2.r `cat ropensci.txt`