Skip to content
Snippets Groups Projects
Commit 403777aa authored by gael's avatar gael
Browse files

src/docker_modules/R: add docker recipe for R compilation from source

parent d907622b
No related branches found
No related tags found
No related merge requests found
FROM ubuntu:18.04
MAINTAINER Gael Yvert
ENV R_VERSION=3.5.0
ENV PACKAGES curl=7.58.0* \
ca-certificates=20180409 \
build-essential=12.4* \
zlib1g-dev=1:1.2.11* \
gfortran=4:7.3.0* \
libreadline-dev=7.0-3* \
libbz2-dev=1.0.6-8.1* \
liblzma-dev=5.2.2-1.3* \
libpcre++-dev=0.9.5-6.1* \
libcurl4-openssl-dev=7.58.0-2* \
openjdk-11-jdk=10.0.1*
RUN apt-get update && \
apt-get install -y --no-install-recommends ${PACKAGES} && \
apt-get clean
RUN curl -k -L https://cran.r-project.org/src/base/R-3/R-${R_VERSION}.tar.gz -o R-${R_VERSION}.tar.gz && \
tar xzf R-${R_VERSION}.tar.gz && \
cd R-${R_VERSION} && \
./configure --with-x=no && \
make && \
make install && \
cd .. && \
rm -Rf R-${R_VERSION}*
#!/bin/sh
docker build src/docker_modules/R/3.5.0 -t 'r:3.5.0'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment