-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
19 lines (13 loc) · 839 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM rocker/geospatial:latest
LABEL maintainer='Lampros Mouselimis'
RUN export DEBIAN_FRONTEND=noninteractive; apt-get -y update && \
apt-get install -y aria2 && \
R -e "install.packages('devtools', dependencies = TRUE, repos = 'https://cloud.r-project.org/')" && \
R -e "install.packages(c( 'httr', 'sf', 'data.table', 'glue', 'terra', 'rmarkdown', 'knitr', 'raster', 'sp', 'RStoolbox', 'proj4', 'testthat', 'remotes' ), repos = 'https://cloud.r-project.org/' )"
ADD http://www.random.org/strings/?num=10&len=8&digits=on&upperalpha=on&loweralpha=on&unique=on&format=plain&rnd=new uuid
ARG BUILD_DATE
RUN echo "$BUILD_DATE"
RUN R -e "remotes::install_github('mlampros/PlanetNICFI', upgrade = 'always', dependencies = TRUE, repos = 'https://cloud.r-project.org/')" && \
apt-get autoremove -y && \
apt-get clean
ENV USER rstudio