Skip to content

Commit

Permalink
added Dockerfile for /ext/eddy4R
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanmet committed Jan 29, 2017
1 parent a883f4f commit e80bf65
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Dockerfile
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

0 comments on commit e80bf65

Please sign in to comment.