mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-12 12:32:58 +00:00
Merge pull request #407 from parente/miniconda-py36-spy
miniconda 4.3.x, python 3.6, spylon 0.4, sparklyr
This commit is contained in:
@@ -20,11 +20,11 @@ RUN apt-get update && \
|
|||||||
USER $NB_USER
|
USER $NB_USER
|
||||||
|
|
||||||
# R packages
|
# R packages
|
||||||
RUN conda config --system --add channels r && \
|
RUN conda install --quiet --yes \
|
||||||
conda install --quiet --yes \
|
|
||||||
'r-base=3.3.2' \
|
'r-base=3.3.2' \
|
||||||
'r-irkernel=0.7*' \
|
'r-irkernel=0.7*' \
|
||||||
'r-ggplot2=2.2*' \
|
'r-ggplot2=2.2*' \
|
||||||
|
'r-sparklyr=0.5*' \
|
||||||
'r-rcurl=1.95*' && conda clean -tipsy
|
'r-rcurl=1.95*' && conda clean -tipsy
|
||||||
|
|
||||||
# Apache Toree kernel
|
# Apache Toree kernel
|
||||||
@@ -32,6 +32,6 @@ RUN pip --no-cache-dir install https://dist.apache.org/repos/dist/dev/incubator/
|
|||||||
RUN jupyter toree install --sys-prefix
|
RUN jupyter toree install --sys-prefix
|
||||||
|
|
||||||
# Spylon-kernel
|
# Spylon-kernel
|
||||||
RUN conda install --quiet --yes 'spylon-kernel=0.2*' && \
|
RUN conda install --quiet --yes 'spylon-kernel=0.4*' && \
|
||||||
conda clean -tipsy
|
conda clean -tipsy
|
||||||
RUN python -m spylon_kernel install --sys-prefix
|
RUN python -m spylon_kernel install --sys-prefix
|
||||||
|
@@ -55,22 +55,25 @@ USER $NB_USER
|
|||||||
# Setup work directory for backward-compatibility
|
# Setup work directory for backward-compatibility
|
||||||
RUN mkdir /home/$NB_USER/work
|
RUN mkdir /home/$NB_USER/work
|
||||||
|
|
||||||
# Install conda as jovyan
|
# Install conda as jovyan and check the md5 sum provided on the download site
|
||||||
|
ENV MINICONDA_VERSION 4.3.21
|
||||||
RUN cd /tmp && \
|
RUN cd /tmp && \
|
||||||
mkdir -p $CONDA_DIR && \
|
mkdir -p $CONDA_DIR && \
|
||||||
wget --quiet https://repo.continuum.io/miniconda/Miniconda3-4.2.12-Linux-x86_64.sh && \
|
wget --quiet https://repo.continuum.io/miniconda/Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh && \
|
||||||
echo "c59b3dd3cad550ac7596e0d599b91e75d88826db132e4146030ef471bb434e9a *Miniconda3-4.2.12-Linux-x86_64.sh" | sha256sum -c - && \
|
echo "c1c15d3baba15bf50293ae963abef853 *Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh" | md5sum -c - && \
|
||||||
/bin/bash Miniconda3-4.2.12-Linux-x86_64.sh -f -b -p $CONDA_DIR && \
|
/bin/bash Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh -f -b -p $CONDA_DIR && \
|
||||||
rm Miniconda3-4.2.12-Linux-x86_64.sh && \
|
rm Miniconda3-${MINICONDA_VERSION}-Linux-x86_64.sh && \
|
||||||
$CONDA_DIR/bin/conda config --system --add channels conda-forge && \
|
$CONDA_DIR/bin/conda config --system --prepend channels conda-forge && \
|
||||||
$CONDA_DIR/bin/conda config --system --set auto_update_conda false && \
|
$CONDA_DIR/bin/conda config --system --set auto_update_conda false && \
|
||||||
|
$CONDA_DIR/bin/conda config --system --set show_channel_urls true && \
|
||||||
|
$CONDA_DIR/bin/conda update --all && \
|
||||||
conda clean -tipsy
|
conda clean -tipsy
|
||||||
|
|
||||||
# Install Jupyter Notebook and Hub
|
# Install Jupyter Notebook and Hub
|
||||||
RUN conda install --quiet --yes \
|
RUN conda install --quiet --yes \
|
||||||
'notebook=5.0.*' \
|
'notebook=5.0.*' \
|
||||||
'jupyterhub=0.7.*' \
|
'jupyterhub=0.7.*' \
|
||||||
'jupyterlab=0.18.*' \
|
'jupyterlab=0.24.*' \
|
||||||
&& conda clean -tipsy
|
&& conda clean -tipsy
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
@@ -9,24 +9,25 @@ USER root
|
|||||||
|
|
||||||
# Install all OS dependencies for fully functional notebook server
|
# Install all OS dependencies for fully functional notebook server
|
||||||
RUN apt-get update && apt-get install -yq --no-install-recommends \
|
RUN apt-get update && apt-get install -yq --no-install-recommends \
|
||||||
git \
|
|
||||||
vim \
|
|
||||||
jed \
|
|
||||||
emacs \
|
|
||||||
build-essential \
|
build-essential \
|
||||||
python-dev \
|
emacs \
|
||||||
unzip \
|
git \
|
||||||
|
inkscape \
|
||||||
|
jed \
|
||||||
libsm6 \
|
libsm6 \
|
||||||
|
libxext-dev \
|
||||||
|
libxrender1 \
|
||||||
|
lmodern \
|
||||||
pandoc \
|
pandoc \
|
||||||
texlive-latex-base \
|
python-dev \
|
||||||
texlive-latex-extra \
|
|
||||||
texlive-fonts-extra \
|
texlive-fonts-extra \
|
||||||
texlive-fonts-recommended \
|
texlive-fonts-recommended \
|
||||||
texlive-generic-recommended \
|
texlive-generic-recommended \
|
||||||
|
texlive-latex-base \
|
||||||
|
texlive-latex-extra \
|
||||||
texlive-xetex \
|
texlive-xetex \
|
||||||
lmodern \
|
vim \
|
||||||
libxrender1 \
|
unzip \
|
||||||
inkscape \
|
|
||||||
&& apt-get clean && \
|
&& apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
@@ -17,8 +17,7 @@ RUN apt-get update && \
|
|||||||
USER $NB_USER
|
USER $NB_USER
|
||||||
|
|
||||||
# R packages
|
# R packages
|
||||||
RUN conda config --system --add channels r && \
|
RUN conda install --quiet --yes \
|
||||||
conda install --quiet --yes \
|
|
||||||
'r-base=3.3.2' \
|
'r-base=3.3.2' \
|
||||||
'r-irkernel=0.7*' \
|
'r-irkernel=0.7*' \
|
||||||
'r-plyr=1.8*' \
|
'r-plyr=1.8*' \
|
||||||
|
Reference in New Issue
Block a user