From e230e7098db3fddbda06501bd66cd9e75aa3de15 Mon Sep 17 00:00:00 2001 From: rasmi Date: Tue, 12 Sep 2023 15:46:26 -0400 Subject: [PATCH 1/2] Add s2 dependency libudunits2-dev to Dockerfile. --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2cbe4d3..f3a410c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,8 @@ FROM rocker/tidyverse:3.6.3 +RUN apt-get update && apt-get install -y \ + libudunits2-dev + RUN echo "options(repos = c(CRAN = 'https://cran.rstudio.org'))" >> /usr/local/lib/R/etc/Rprofile.site RUN install2.r --error \ @@ -13,4 +16,4 @@ COPY . /usr/local/src/scripts WORKDIR /usr/local/src/scripts -ENTRYPOINT ["./bin/normalize"] \ No newline at end of file +ENTRYPOINT ["./bin/normalize"] From d6076d562a7fb0e74c2de434a6b8eb31aee2cbe8 Mon Sep 17 00:00:00 2001 From: rasmi Date: Tue, 12 Sep 2023 16:37:16 -0400 Subject: [PATCH 2/2] Added remainder of s2 dependencies. --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f3a410c..6ef6564 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,10 @@ FROM rocker/tidyverse:3.6.3 RUN apt-get update && apt-get install -y \ - libudunits2-dev + libudunits2-dev \ + libgdal-dev \ + libgeos-dev \ + libproj-dev RUN echo "options(repos = c(CRAN = 'https://cran.rstudio.org'))" >> /usr/local/lib/R/etc/Rprofile.site