mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 15:02:57 +00:00
Merge branch 'master' into ppc64le
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -516,3 +516,25 @@ RUN pip install jupyter_contrib_nbextensions && \
|
||||
|
||||
Ref:
|
||||
[https://github.com/jupyter/docker-stacks/issues/675](https://github.com/jupyter/docker-stacks/issues/675)
|
||||
|
||||
## Enable auto-sklearn notebooks
|
||||
|
||||
Using `auto-sklearn` requires `swig`, which the other notebook images lack, so it cant be experimented with. Also, there is no Conda package for `auto-sklearn`.
|
||||
|
||||
```
|
||||
ARG BASE_CONTAINER=jupyter/scipy-notebook
|
||||
FROM jupyter/scipy-notebook:latest
|
||||
|
||||
USER root
|
||||
|
||||
# autosklearn requires swig, which no other image has
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends swig && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
USER $NB_UID
|
||||
|
||||
RUN pip install --quiet --no-cache-dir auto-sklearn
|
||||
```
|
||||
|
@@ -6,7 +6,7 @@ FROM $BASE_CONTAINER
|
||||
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
|
||||
|
||||
# Install Tensorflow
|
||||
RUN pip install --quiet \
|
||||
'tensorflow==2.1.0' && \
|
||||
RUN pip install --quiet --no-cache-dir \
|
||||
'tensorflow==2.2.0' && \
|
||||
fix-permissions $CONDA_DIR && \
|
||||
fix-permissions /home/$NB_USER
|
||||
|
Reference in New Issue
Block a user