diff --git a/Dockerfile b/Dockerfile index 6d995fd..2107955 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:20.04 +FROM rocker/geospatial:4.1 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common cmake g++ git supervisor wget ENV TZ=Etc/UTC @@ -7,9 +7,9 @@ RUN add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable && apt-key adv --keys # install R and necessary packages -RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 -RUN add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/' -RUN apt update -q && DEBIAN_FRONTEND=noninteractive apt install -q -y r-base +#RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 +#RUN add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/' +#RUN apt update -q && DEBIAN_FRONTEND=noninteractive apt install -q -y r-base RUN Rscript -e "install.packages(c('devtools'))"