From 8e7b45f46852a6ec93ad269ef1263fa1a14d9b6b Mon Sep 17 00:00:00 2001 From: Lextuga007 Date: Mon, 17 Jun 2024 11:14:15 +0100 Subject: [PATCH] Corrected code for install and removed dependency code --- Dockerfile | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2abc218..08a7a2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,26 +9,11 @@ RUN wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.4.550/qua && DEBIAN_FRONTEND=noninteractive apt install ./quarto-*-linux-amd64.deb \ && rm quarto-*-linux-amd64.deb -RUN apt-get update && \ - apt-get install -y libcurl4-openssl-dev \ -libssl-dev \ -libjq-dev \ -libprotobuf-dev \ -protobuf-compiler \ -make \ -libgeos-dev \ -libudunits2-dev \ -libgdal-dev \ -gdal-bin \ -libproj-dev \ -libv8-dev -RUN R -e "remotes::install_github('r-spatial/sf')" -RUN R -e "install.packages('udunits2')" - RUN apt-get clean \ && rm -rf /var/lib/apt/lists/* RUN R -q -e 'install.packages("remotes"); remotes::install_github("rundel/checklist")' +RUN R -q -e 'install.packages("remotes"); remotes::install_github("r-spatial/sf")' CMD ["bash"]