Files
docker-stacks/r-notebook/Dockerfile
romainx d3ef6d89b2 Regular update 2020 W18
* Bump `base-notebook`
	* OS version
	* `jupyterlab`
* Bump `scipy-notebook`
	* `beautifulsoup4`
	* `cloudpickle`
	* `dask`
	* `numba`
	* `xlrd`: version specified (it was not the case)
* Bump `datascience-notebook`
	* `r-devtools`
	* `r-forecast`
	* Julia version
	* Test added to check if Julia is correctly installed (`julia --version`)
	* Note: A new version of `r-base` is out `4.0.0` however it cannot be installed yet since dependencies with other packages cannot be resolved.
* Bump `r-notebook`
	* Same as `datascience-notebook` except Julia.
* Bump `all-spark-notebook`
	* `r-sparklyr`
2020-04-29 09:16:28 +02:00

54 lines
1.3 KiB
Docker

# 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 <jupyter@googlegroups.com>"
USER root
# R pre-requisites
RUN apt-get update && \
apt-get install -y --no-install-recommends \
fonts-dejavu \
unixodbc \
unixodbc-dev \
r-cran-rodbc \
gfortran \
gcc && \
rm -rf /var/lib/apt/lists/*
# Fix for devtools https://github.com/conda-forge/r-devtools-feedstock/issues/4
RUN ln -s /bin/tar /bin/gtar
USER $NB_UID
# R packages
RUN conda install --quiet --yes \
'r-base=3.6.3' \
'r-caret=6.0*' \
'r-crayon=1.3*' \
'r-devtools=2.3*' \
'r-forecast=8.12*' \
'r-hexbin=1.28*' \
'r-htmltools=0.4*' \
'r-htmlwidgets=1.5*' \
'r-irkernel=1.1*' \
'r-nycflights13=1.0*' \
'r-plyr=1.8*' \
'r-randomforest=4.6*' \
'r-rcurl=1.98*' \
'r-reshape2=1.4*' \
'r-rmarkdown=2.1*' \
'r-rodbc=1.3*' \
'r-rsqlite=2.2*' \
'r-shiny=1.4*' \
'r-tidyverse=1.3*' \
'unixodbc=2.3.*' \
&& \
conda clean --all -f -y && \
fix-permissions $CONDA_DIR
# Install e1071 R package (dependency of the caret R package)
RUN conda install --quiet --yes r-e1071