Created
November 15, 2015 23:10
-
-
Save mhermans/2fb5a935467881d8c3c4 to your computer and use it in GitHub Desktop.
Dockerfile for GPX-hiking visualisation blogpost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# R image with dev libs & packages for GIS | |
# ========================================= | |
FROM rocker/hadleyverse | |
MAINTAINER "Maarten Hermans" [email protected] | |
# apt-get packages | |
# ---------------- | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | |
tk-dev \ | |
libgdal-dev \ | |
libimage-exiftool-perl \ | |
libproj-dev \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/ \ | |
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds | |
# R packages | |
# ---------- | |
RUN install2.r --error --deps TRUE \ | |
rgdal \ | |
lubridate \ | |
plotKML \ | |
&& rm -rf /tmp/downloaded_packages/ | |
# R Github repo's | |
# ---------------- | |
RUN installGithub.r rstudio/leaflet \ | |
&& rm -rf /tmp/downloaded_packages/ | |
WORKDIR /home/rstudio/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment