Commit 58ce0411 authored by Peter Parente's avatar Peter Parente

Merge pull request #133 from jakirkham/clean_conda

Clean conda
parents 3f15f3bc 5548f94b
...@@ -72,7 +72,7 @@ RUN conda install --yes \ ...@@ -72,7 +72,7 @@ RUN conda install --yes \
'scipy=0.17*' \ 'scipy=0.17*' \
'seaborn=0.7*' \ 'seaborn=0.7*' \
'scikit-learn=0.17*' \ 'scikit-learn=0.17*' \
&& conda clean -yt && conda clean -tipsy
# Install Python 2 packages and kernel spec # Install Python 2 packages and kernel spec
RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \
...@@ -84,7 +84,7 @@ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ ...@@ -84,7 +84,7 @@ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \
'seaborn=0.7*' \ 'seaborn=0.7*' \
'scikit-learn=0.17*' \ 'scikit-learn=0.17*' \
pyzmq \ pyzmq \
&& conda clean -yt && conda clean -tipsy
# R packages # R packages
RUN conda config --add channels r RUN conda config --add channels r
...@@ -92,7 +92,7 @@ RUN conda install --yes \ ...@@ -92,7 +92,7 @@ RUN conda install --yes \
'r-base=3.2*' \ 'r-base=3.2*' \
'r-irkernel=0.5*' \ 'r-irkernel=0.5*' \
'r-ggplot2=1.0*' \ 'r-ggplot2=1.0*' \
'r-rcurl=1.95*' && conda clean -yt 'r-rcurl=1.95*' && conda clean -tipsy
# Scala Spark kernel spec # Scala Spark kernel spec
RUN mkdir -p /opt/conda/share/jupyter/kernels/scala RUN mkdir -p /opt/conda/share/jupyter/kernels/scala
......
...@@ -45,7 +45,7 @@ RUN conda install --yes \ ...@@ -45,7 +45,7 @@ RUN conda install --yes \
'numba=0.23*' \ 'numba=0.23*' \
'bokeh=0.11*' \ 'bokeh=0.11*' \
'h5py=2.5*' \ 'h5py=2.5*' \
&& conda clean -yt && conda clean -tipsy
# Install Python 2 packages # Install Python 2 packages
RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \
...@@ -67,7 +67,7 @@ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ ...@@ -67,7 +67,7 @@ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \
'bokeh=0.11*' \ 'bokeh=0.11*' \
'h5py=2.5*' \ 'h5py=2.5*' \
'pyzmq' \ 'pyzmq' \
&& conda clean -yt && conda clean -tipsy
# R packages including IRKernel which gets installed globally. # R packages including IRKernel which gets installed globally.
RUN conda config --add channels r RUN conda config --add channels r
...@@ -89,7 +89,7 @@ RUN conda install --yes \ ...@@ -89,7 +89,7 @@ RUN conda install --yes \
'r-nycflights13=0.1*' \ 'r-nycflights13=0.1*' \
'r-caret=6.0*' \ 'r-caret=6.0*' \
'r-rcurl=1.95*' \ 'r-rcurl=1.95*' \
'r-randomforest=4.6*' && conda clean -yt 'r-randomforest=4.6*' && conda clean -tipsy
# Install IJulia packages as jovyan and then move the kernelspec out # Install IJulia packages as jovyan and then move the kernelspec out
# to the system share location. Avoids problems with runtime UID change not # to the system share location. Avoids problems with runtime UID change not
......
...@@ -70,13 +70,14 @@ RUN cd /tmp && \ ...@@ -70,13 +70,14 @@ RUN cd /tmp && \
echo "9ea57c0fdf481acf89d816184f969b04bc44dea27b258c4e86b1e3a25ff26aa0 *Miniconda3-3.19.0-Linux-x86_64.sh" | sha256sum -c - && \ echo "9ea57c0fdf481acf89d816184f969b04bc44dea27b258c4e86b1e3a25ff26aa0 *Miniconda3-3.19.0-Linux-x86_64.sh" | sha256sum -c - && \
/bin/bash Miniconda3-3.19.0-Linux-x86_64.sh -f -b -p $CONDA_DIR && \ /bin/bash Miniconda3-3.19.0-Linux-x86_64.sh -f -b -p $CONDA_DIR && \
rm Miniconda3-3.19.0-Linux-x86_64.sh && \ rm Miniconda3-3.19.0-Linux-x86_64.sh && \
$CONDA_DIR/bin/conda install --yes conda==3.19.1 $CONDA_DIR/bin/conda install --yes conda==3.19.1 && \
conda clean -tipsy
# Install Jupyter notebook as jovyan # Install Jupyter notebook as jovyan
RUN conda install --yes \ RUN conda install --yes \
'notebook=4.1*' \ 'notebook=4.1*' \
terminado \ terminado \
&& conda clean -yt && conda clean -tipsy
USER root USER root
......
...@@ -45,7 +45,7 @@ RUN conda install --yes \ ...@@ -45,7 +45,7 @@ RUN conda install --yes \
'scipy=0.17*' \ 'scipy=0.17*' \
'seaborn=0.7*' \ 'seaborn=0.7*' \
'scikit-learn=0.17*' \ 'scikit-learn=0.17*' \
&& conda clean -yt && conda clean -tipsy
# Install Python 2 packages and kernel spec # Install Python 2 packages and kernel spec
RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \
...@@ -57,7 +57,7 @@ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ ...@@ -57,7 +57,7 @@ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \
'seaborn=0.7*' \ 'seaborn=0.7*' \
'scikit-learn=0.17*' \ 'scikit-learn=0.17*' \
pyzmq \ pyzmq \
&& conda clean -yt && conda clean -tipsy
# Install Python 2 kernel spec into the Python 3 conda environment which # Install Python 2 kernel spec into the Python 3 conda environment which
# runs the notebook server # runs the notebook server
......
...@@ -34,4 +34,4 @@ RUN conda install --yes \ ...@@ -34,4 +34,4 @@ RUN conda install --yes \
'r-nycflights13=0.1*' \ 'r-nycflights13=0.1*' \
'r-caret=6.0*' \ 'r-caret=6.0*' \
'r-rcurl=1.95*' \ 'r-rcurl=1.95*' \
'r-randomforest=4.6*' && conda clean -yt 'r-randomforest=4.6*' && conda clean -tipsy
...@@ -31,7 +31,7 @@ RUN conda install --yes \ ...@@ -31,7 +31,7 @@ RUN conda install --yes \
'numba=0.23*' \ 'numba=0.23*' \
'bokeh=0.11*' \ 'bokeh=0.11*' \
'h5py=2.5*' \ 'h5py=2.5*' \
&& conda clean -yt && conda clean -tipsy
# Install Python 2 packages # Install Python 2 packages
RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \
...@@ -53,7 +53,7 @@ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ ...@@ -53,7 +53,7 @@ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \
'bokeh=0.11*' \ 'bokeh=0.11*' \
'h5py=2.5*' \ 'h5py=2.5*' \
'pyzmq' \ 'pyzmq' \
&& conda clean -yt && conda clean -tipsy
USER root USER root
......
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