-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathDockerfile_rstudio
More file actions
22 lines (19 loc) · 853 Bytes
/
Dockerfile_rstudio
File metadata and controls
22 lines (19 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Utiliser rocker/geospatial comme image de base
FROM rocker/rstudio
# Mettre à jour les packages du système
RUN apt-get update -qq && apt-get -y --no-install-recommends install \
libxml2-dev \
libcairo2-dev \
libpq-dev \
libssh2-1-dev \
libcurl4-openssl-dev \
libssl-dev \
libudunits2-dev \
libwebp-dev \
libgdal-dev \
libharfbuzz-dev \
libfribidi-dev
# Installer les packages R
RUN R -e "install.packages(c('dplyr', 'lubridate', 'purrr', 'stringr', 'hubeau', 'data.table', 'forcats', 'glue', 'leaflet', 'sf', 'tidyr', 'ggplot2', 'ggrepel', 'png', 'scales', 'webp', 'rmarkdown', 'shiny', 'knitr', 'leafem', 'mapview', 'htmltools', 'leafpop', 'tidyverse', 'leaflet.extras', 'remotes', 'ragg'), repos='https://cloud.r-project.org/')"
# Installer ondetools depuis Github
RUN R -e "remotes::install_github('richaben/ondetools')"