diff --git a/Dockerfile b/Dockerfile index 2cbe4d3..6ef6564 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,11 @@ FROM rocker/tidyverse:3.6.3 +RUN apt-get update && apt-get install -y \ + 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 RUN install2.r --error \ @@ -13,4 +19,4 @@ COPY . /usr/local/src/scripts WORKDIR /usr/local/src/scripts -ENTRYPOINT ["./bin/normalize"] \ No newline at end of file +ENTRYPOINT ["./bin/normalize"]