-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
50 lines (42 loc) · 1.15 KB
/
Dockerfile
File metadata and controls
50 lines (42 loc) · 1.15 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
FROM rocker/tidyverse:latest
LABEL maintainer="cwright2@fredhutch.org"
RUN Rscript -e "options(warn = 2);install.packages('stringr', repos = 'https://cloud.r-project.org/')"
# System dependencies for R packages
RUN apt-get update && apt-get install -y \
cmake \
xz-utils \
libgmp-dev \
libudunits2-dev \
libcurl4-openssl-dev \
libssl-dev \
libxml2-dev \
libfontconfig1-dev \
libfreetype6-dev \
libharfbuzz-dev \
libfribidi-dev \
libpng-dev \
libjpeg-dev \
libtiff-dev \
libcairo2-dev \
libgit2-dev \
RUN Rscript -e "options(warn = 2);install.packages('sf', repos = 'https://cloud.r-project.org/')"
RUN Rscript -e "options(warn = 2);install.packages('naniar', repos = 'https://cloud.r-project.org/')"
RUN Rscript -e "options(warn = 2);install.packages( \
c('stars',\
'areal',\
'leafem',\
'leafgl',\
'leaflegend',\
'leaflet',\
'leafsync',\
'maptiles', \
's2',\
'tmaptools',\
'units',\
'tmap', \
'raster',\
'lwgeom', \
'leafpop',\
'satellite',\
'mapview), \
dependencies=TRUE, repos = 'https://cloud.r-project.org/')"