FROM r-base RUN apt-get update RUN apt-get install -y libgdal-dev libproj-dev WORKDIR /code ADD install.R /code RUN Rscript install.R CMD ["Rscript"]