Merge pull request #18 from parente/irkernel-workaround

Prevent r-irkernel from downgrading to ipython 3.2.1
This commit is contained in:
Peter Parente
2015-08-26 22:47:15 -04:00
2 changed files with 25 additions and 3 deletions

View File

@@ -79,11 +79,24 @@ RUN $CONDA_DIR/envs/python2/bin/python \
# R packages
RUN conda config --add channels r
RUN conda install --yes \
'r-base=3.1*' \
'r-irkernel=0.4*' \
'r-base=3.2*' \
'r-ggplot2=1.0*' \
'r-rcurl=1.95*' && conda clean -yt
# Issue #17: R downgrades ipython to 3.2.1
# Workaround until packaging reqs update
RUN conda install --yes -f 'r-irkernel=0.4*' && conda clean -yt
RUN conda install --yes \
'r-base64enc' \
'r-irdisplay' \
'r-repr' \
'r-rzmq' \
'r-evaluate' \
'r-jsonlite' \
'r-magrittr' \
'r-stringi' \
'r-uuid' && conda clean -yt
# Scala Spark kernel spec
RUN mkdir -p $HOME/.ipython/kernels/scala
COPY kernel.json $HOME/.ipython/kernels/scala/

View File

@@ -17,7 +17,6 @@ USER jovyan
RUN conda config --add channels r
RUN conda install --yes \
'r-base=3.2*' \
'r-irkernel=0.4*' \
'r-plyr=1.8*' \
'r-devtools=1.8*' \
'r-dplyr=0.4*' \
@@ -34,5 +33,15 @@ RUN conda install --yes \
'r-rcurl=1.95*' \
'r-randomforest=4.6*' && conda clean -yt
# Issue #17: R downgrades ipython to 3.2.1
# Workaround until packaging reqs update
RUN conda install --yes -f 'r-irkernel=0.4*' && conda clean -yt
RUN conda install --yes \
'r-base64enc' \
'r-irdisplay' \
'r-repr' \
'r-rzmq' \
'r-uuid' && conda clean -yt
# Switch back to root so that supervisord runs under that user
USER root