2023-05-17 18:09:58 +02:00
|
|
|
# Dockerfile
|
|
|
|
#
|
|
|
|
# Author: Giancarlo Panichi
|
|
|
|
###############################################################################
|
|
|
|
|
2023-05-16 18:56:30 +02:00
|
|
|
# Base
|
|
|
|
#FROM rhub/r-minimal:4.2.3
|
|
|
|
FROM r-base:4.2.3
|
|
|
|
|
|
|
|
#r-base
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install apt-utils
|
|
|
|
RUN apt-get install -y curl
|
|
|
|
RUN apt-get install -y libcurl4-openssl-dev
|
|
|
|
RUN apt-get install libpng++-dev
|
|
|
|
RUN apt-get install libpng-dev
|
|
|
|
RUN apt-get install libxml2
|
|
|
|
RUN apt-get install libxml2-dev
|
|
|
|
RUN apt-get install fontconfig
|
|
|
|
RUN apt-get install libfontconfig
|
|
|
|
RUN apt-get install -y r-cran-rgdal
|
|
|
|
RUN apt-get install -y r-cran-systemfonts
|
|
|
|
RUN apt-get install -y r-cran-base64enc
|
|
|
|
RUN apt-get install -y r-cran-ggplot2
|
|
|
|
RUN apt-get install -y r-cran-httr
|
|
|
|
RUN apt-get install -y r-cran-httpuv
|
|
|
|
RUN apt-get install -y r-cran-fs
|
|
|
|
RUN apt-get install -y r-cran-sf
|
|
|
|
RUN apt-get install -y r-cran-raster
|
|
|
|
RUN apt-get install -y r-cran-maps
|
|
|
|
RUN apt-get install -y libgeos-dev
|
|
|
|
|
|
|
|
RUN install2.r --error --skipinstalled rgeos
|
|
|
|
RUN install2.r --error --skipinstalled terra
|
|
|
|
RUN install2.r --error --skipinstalled robis
|
|
|
|
|
2023-05-18 19:41:37 +02:00
|
|
|
#Clean
|
|
|
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/* && rm -fr /tmp/*
|
|
|
|
|
2023-05-16 18:56:30 +02:00
|
|
|
# copy R script
|
|
|
|
COPY simpleobisCCP.R /
|