mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 07:22:57 +00:00
Use altair and mamba instead of conda
This commit is contained in:
@@ -22,7 +22,7 @@ RUN apt-get update && \
|
|||||||
USER $NB_UID
|
USER $NB_UID
|
||||||
|
|
||||||
# R packages
|
# R packages
|
||||||
RUN conda install --quiet --yes \
|
RUN mamba install --quiet --yes \
|
||||||
'r-base=4.0.5' \
|
'r-base=4.0.5' \
|
||||||
'r-ggplot2=3.3*' \
|
'r-ggplot2=3.3*' \
|
||||||
'r-irkernel=1.2*' \
|
'r-irkernel=1.2*' \
|
||||||
@@ -33,7 +33,7 @@ RUN conda install --quiet --yes \
|
|||||||
fix-permissions "/home/${NB_USER}"
|
fix-permissions "/home/${NB_USER}"
|
||||||
|
|
||||||
# Spylon-kernel
|
# Spylon-kernel
|
||||||
RUN conda install --quiet --yes 'spylon-kernel=0.4*' && \
|
RUN mamba install --quiet --yes 'spylon-kernel=0.4*' && \
|
||||||
conda clean --all -f -y && \
|
conda clean --all -f -y && \
|
||||||
python -m spylon_kernel install --sys-prefix && \
|
python -m spylon_kernel install --sys-prefix && \
|
||||||
rm -rf "/home/${NB_USER}/.local" && \
|
rm -rf "/home/${NB_USER}/.local" && \
|
||||||
|
@@ -96,7 +96,7 @@ and versioning strategy.
|
|||||||
[cloudpickle](https://github.com/cloudpipe/cloudpickle),
|
[cloudpickle](https://github.com/cloudpipe/cloudpickle),
|
||||||
[dill](https://pypi.org/project/dill/), [numba](https://numba.pydata.org/),
|
[dill](https://pypi.org/project/dill/), [numba](https://numba.pydata.org/),
|
||||||
[bokeh](https://docs.bokeh.org/en/latest/), [sqlalchemy](https://www.sqlalchemy.org/),
|
[bokeh](https://docs.bokeh.org/en/latest/), [sqlalchemy](https://www.sqlalchemy.org/),
|
||||||
[hdf5](https://www.h5py.org), [vincent](https://vincent.readthedocs.io/en/latest/),
|
[hdf5](https://www.h5py.org), [altair](https://altair-viz.github.io),
|
||||||
[beautifulsoup](https://www.crummy.com/software/BeautifulSoup/),
|
[beautifulsoup](https://www.crummy.com/software/BeautifulSoup/),
|
||||||
[protobuf](https://developers.google.com/protocol-buffers/docs/pythontutorial),
|
[protobuf](https://developers.google.com/protocol-buffers/docs/pythontutorial),
|
||||||
[xlrd](https://www.python-excel.org), [bottleneck](https://bottleneck.readthedocs.io/en/latest/),
|
[xlrd](https://www.python-excel.org), [bottleneck](https://bottleneck.readthedocs.io/en/latest/),
|
||||||
|
@@ -55,7 +55,7 @@ RUN cp -p "$SPARK_HOME/conf/spark-defaults.conf.template" "$SPARK_HOME/conf/spar
|
|||||||
USER $NB_UID
|
USER $NB_UID
|
||||||
|
|
||||||
# Install pyarrow
|
# Install pyarrow
|
||||||
RUN conda install --quiet --yes --satisfied-skip-solve \
|
RUN mamba install --quiet --yes --satisfied-skip-solve \
|
||||||
'pyarrow=4.0.*' && \
|
'pyarrow=4.0.*' && \
|
||||||
conda clean --all -f -y && \
|
conda clean --all -f -y && \
|
||||||
fix-permissions "${CONDA_DIR}" && \
|
fix-permissions "${CONDA_DIR}" && \
|
||||||
|
@@ -16,6 +16,7 @@ USER $NB_UID
|
|||||||
|
|
||||||
# Install Python 3 packages
|
# Install Python 3 packages
|
||||||
RUN conda install --quiet --yes \
|
RUN conda install --quiet --yes \
|
||||||
|
'altair=4.1.*' \
|
||||||
'beautifulsoup4=4.9.*' \
|
'beautifulsoup4=4.9.*' \
|
||||||
'conda-forge::blas=*=openblas' \
|
'conda-forge::blas=*=openblas' \
|
||||||
'bokeh=2.3.*' \
|
'bokeh=2.3.*' \
|
||||||
@@ -41,7 +42,6 @@ RUN conda install --quiet --yes \
|
|||||||
'sqlalchemy=1.4.*' \
|
'sqlalchemy=1.4.*' \
|
||||||
'statsmodels=0.12.*' \
|
'statsmodels=0.12.*' \
|
||||||
'sympy=1.8.*' \
|
'sympy=1.8.*' \
|
||||||
'vincent=0.4.*' \
|
|
||||||
'widgetsnbextension=3.5.*'\
|
'widgetsnbextension=3.5.*'\
|
||||||
'xlrd=2.0.*' && \
|
'xlrd=2.0.*' && \
|
||||||
conda clean --all -f -y && \
|
conda clean --all -f -y && \
|
||||||
|
Reference in New Issue
Block a user