Commit 2e9dc636 authored by Peter Parente's avatar Peter Parente

Merge pull request #18 from parente/irkernel-workaround

Prevent r-irkernel from downgrading to ipython 3.2.1
parents 16db7cfe 822938d2
...@@ -79,11 +79,24 @@ RUN $CONDA_DIR/envs/python2/bin/python \ ...@@ -79,11 +79,24 @@ RUN $CONDA_DIR/envs/python2/bin/python \
# R packages # R packages
RUN conda config --add channels r RUN conda config --add channels r
RUN conda install --yes \ RUN conda install --yes \
'r-base=3.1*' \ 'r-base=3.2*' \
'r-irkernel=0.4*' \
'r-ggplot2=1.0*' \ 'r-ggplot2=1.0*' \
'r-rcurl=1.95*' && conda clean -yt '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 # Scala Spark kernel spec
RUN mkdir -p $HOME/.ipython/kernels/scala RUN mkdir -p $HOME/.ipython/kernels/scala
COPY kernel.json $HOME/.ipython/kernels/scala/ COPY kernel.json $HOME/.ipython/kernels/scala/
......
...@@ -17,7 +17,6 @@ USER jovyan ...@@ -17,7 +17,6 @@ USER jovyan
RUN conda config --add channels r RUN conda config --add channels r
RUN conda install --yes \ RUN conda install --yes \
'r-base=3.2*' \ 'r-base=3.2*' \
'r-irkernel=0.4*' \
'r-plyr=1.8*' \ 'r-plyr=1.8*' \
'r-devtools=1.8*' \ 'r-devtools=1.8*' \
'r-dplyr=0.4*' \ 'r-dplyr=0.4*' \
...@@ -34,5 +33,15 @@ RUN conda install --yes \ ...@@ -34,5 +33,15 @@ RUN conda install --yes \
'r-rcurl=1.95*' \ 'r-rcurl=1.95*' \
'r-randomforest=4.6*' && conda clean -yt '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 # Switch back to root so that supervisord runs under that user
USER root USER root
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment