From af11fbc3c4c1baad201b7f4bfc3f799e9fd54331 Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Mon, 7 Mar 2016 22:55:47 -0500 Subject: [PATCH] docker: Add and install from the r channel with conda. --- all-spark-notebook/Dockerfile | 4 ++-- datascience-notebook/Dockerfile | 4 ++-- r-notebook/Dockerfile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/all-spark-notebook/Dockerfile b/all-spark-notebook/Dockerfile index 92bb3a96..e95b5ef1 100644 --- a/all-spark-notebook/Dockerfile +++ b/all-spark-notebook/Dockerfile @@ -76,8 +76,8 @@ RUN conda create --quiet --yes -p $CONDA_DIR/envs/python2 python=2.7 \ && conda clean -tipsy # R packages -RUN conda config --add channels r -RUN conda install --quiet --yes \ +RUN conda config --add channels r && \ + conda install --quiet --yes \ 'r-base=3.2*' \ 'r-irkernel=0.5*' \ 'r-ggplot2=1.0*' \ diff --git a/datascience-notebook/Dockerfile b/datascience-notebook/Dockerfile index 01de83ed..0fc8de5c 100644 --- a/datascience-notebook/Dockerfile +++ b/datascience-notebook/Dockerfile @@ -73,8 +73,8 @@ RUN conda create --quiet --yes -p $CONDA_DIR/envs/python2 python=2.7 \ && conda clean -tipsy # R packages including IRKernel which gets installed globally. -RUN conda config --add channels r -RUN conda install --quiet --yes \ +RUN conda config --add channels r && \ + conda install --quiet --yes \ 'rpy2=2.7*' \ 'r-base=3.2*' \ 'r-irkernel=0.5*' \ diff --git a/r-notebook/Dockerfile b/r-notebook/Dockerfile index 593c9d19..262e6865 100644 --- a/r-notebook/Dockerfile +++ b/r-notebook/Dockerfile @@ -17,8 +17,8 @@ RUN apt-get update && \ USER jovyan # R packages -RUN conda config --add channels r -RUN conda install --quiet --yes \ +RUN conda config --add channels r && \ + conda install --quiet --yes \ 'r-base=3.2*' \ 'r-irkernel=0.5*' \ 'r-plyr=1.8*' \