Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (27 sloc) 1.25 KB
## Emacs, make this -*- mode: sh; -*-
FROM rhub/debian-gcc
MAINTAINER "r-hub admin" admin@r-hub.io
ENV CRAN http://cran.r-project.org
RUN cd /tmp \
&& svn co https://svn.r-project.org/R/trunk R-devel
ENV RPREFIX /opt/R-devel
ENV ROPTIONS --with-recommended-packages --enable-R-shlib --enable-R-static-lib \
--enable-long-double=no
RUN apt-get update \
&& apt-get -y install rsync
RUN cd /tmp/R-devel \
&& ./tools/rsync-recommended \
&& R_PAPERSIZE=letter \
R_BATCHSAVE="--no-save --no-restore" \
PERL=/usr/bin/perl \
R_UNZIPCMD=/usr/bin/unzip \
R_ZIPCMD=/usr/bin/zip \
R_PRINTCMD=/usr/bin/lpr \
AWK=/usr/bin/awk \
CFLAGS="-std=gnu99 -Wall -pedantic" \
CXXFLAGS="-Wall -pedantic" \
LIBS="-lz -lbz2 -llzma" \
./configure --prefix=${RPREFIX} ${ROPTIONS} \
&& make \
&& make install
ENV RHUB_PLATFORM linux-x86_64-debian-gcc
You can’t perform that action at this time.