Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM rocker/r-ver:3.5.1
- ENV PATH /usr/local/lib/R/bin/:$PATH
- ENV R_HOME /usr/local/lib/R
- WORKDIR /tmp
- # Custom Setup
- RUN mkdir /usr/share/doc/R${R_VERSION}
- # Install dependencies for packages
- RUN apt-get update \
- && apt-get install -y --no-install-recommends \
- python3 \
- python3-pip \
- libcurl4-openssl-dev \
- git \
- curl \
- default-jdk \
- ed \
- git \
- libbz2-dev \
- libcairo2-dev \
- libgdal-dev \
- libcgal-dev \
- libglu1-mesa-dev \
- libgsl0-dev \
- libproj-dev \
- libssl-dev \
- libx11-dev \
- libxt-dev \
- xfonts-base \
- unzip \
- x11proto-core-dev \
- python3-dev \
- libreadline-dev \
- && rm -rf /var/lib/apt/lists/*
- RUN pip3 install setuptools
- RUN pip3 install wheel
- RUN pip3 install rpy2
- COPY . /app
- WORKDIR /app
- CMD ["sleep", "3600"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement