-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathDockerfile
42 lines (37 loc) · 963 Bytes
/
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
# Reference: https://aboland.ie/Docker.html
# Build Steps:
# docker build -t opengeos/whiteboxR .
# docker push giswqs/whiteboxr:latest
# docker run -d -p 8787:8787 -e PASSWORD=mypassword -v ~/Documents:/home/rstudio/ opengeos/whiteboxr
# Then open your web browser and navigate to `http://localhost:8787`. The default username is `rstudio` and the default password is `mypassword`.
FROM rocker/rstudio:latest
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libxml2 \
git \
build-essential \
libproj-dev \
libgdal-dev \
libgeos-dev \
gdal-bin \
proj-bin \
libxt-dev \
libxml2-dev \
libsqlite3-dev \
libfribidi-dev \
libudunits2-dev
RUN install2.r --error \
--deps TRUE \
devtools \
whitebox \
Rcpp \
Matrix \
terra \
sf \
ggplot2 \
tidyterra \
rmarkdown \
httr \
caTools \
rprojroot
RUN Rscript -e "whitebox::install_whitebox()"