-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# start with the ropensci image including debian:testing, r-base, rocker/rstudio, rocker/hadleyverse | ||
# https://hub.docker.com/r/rocker/ropensci/ | ||
FROM rocker/ropensci:latest | ||
|
||
# maintainer handle | ||
MAINTAINER "Stefan Metzger" [email protected] | ||
|
||
# install OS-side dependencies | ||
|
||
# update the list of available packages and their versions | ||
RUN apt-get update | ||
|
||
# install dependencies | ||
RUN apt-get install -y \ | ||
# EBImage | ||
fftw3 \ | ||
fftw3-dev \ | ||
libjpeg-dev \ | ||
libtiff-dev \ | ||
# REddyProc | ||
libudunits2-0 \ | ||
libudunits2-dev \ | ||
libnetcdf-dev \ | ||
udunits-bin | ||
|
||
# install the eddy4R packages via web-hosted installation script | ||
RUN R -e 'source("https://www.dropbox.com/s/b9kosg2jr34w3lk/flow.inst.R?dl=1")' | ||
|
||
# provide read and write access for default R library location to Rstudio users | ||
RUN chmod -R 777 /usr/local/lib/R/site-library |