From 21c33457dffb545ca0733d62306c273c9a09cfa3 Mon Sep 17 00:00:00 2001 From: PondiB Date: Tue, 25 Apr 2023 14:47:50 +0200 Subject: [PATCH] Rocker image --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'))"