# Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. ARG BASE_CONTAINER=jupyter/minimal-notebook FROM $BASE_CONTAINER LABEL maintainer="Jupyter Project " USER root # R pre-requisites RUN apt-get update && \ apt-get install -y --no-install-recommends \ fonts-dejavu \ tzdata \ gfortran \ gcc && apt-get clean && \ rm -rf /var/lib/apt/lists/* USER $NB_UID # R packages RUN conda install --quiet --yes \ 'r-base=3.4.1' \ 'r-irkernel=0.8*' \ 'r-plyr=1.8*' \ 'r-devtools=1.13*' \ 'r-tidyverse=1.1*' \ 'r-shiny=1.0*' \ 'r-rmarkdown=1.8*' \ 'r-forecast=8.2*' \ 'r-rsqlite=2.0*' \ 'r-reshape2=1.4*' \ 'r-nycflights13=0.2*' \ 'r-caret=6.0*' \ 'r-rcurl=1.95*' \ 'r-crayon=1.3*' \ 'r-randomforest=4.6*' \ 'r-htmltools=0.3*' \ 'r-sparklyr=0.7*' \ 'r-htmlwidgets=1.0*' \ 'r-hexbin=1.27*' && \ conda clean -tipsy && \ fix-permissions $CONDA_DIR