Docker image for jupyter notebook that includes pyleargist under the python2 kernel.
FROM jupyter/scipy-notebook:fa77fe99579b
USER root
RUN pip2 install cython Pillow nltk && \
$CONDA_DIR/envs/python2/bin/python -m nltk.downloader punkt && \
apt-get update && \
apt-get install -y fftw3 fftw3-dev python-dev && \
apt-get clean && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
RUN mkdir /home/jovyan/pyleargist && \
cd /home/jovyan/pyleargist && \
wget https://bitbucket.org/ogrisel/pyleargist/get/5d9f8ec1bb1c.zip && \
unzip 5d9f8ec1bb1c.zip && \
cd ogrisel-pyleargist-5d9f8ec1bb1c && \
sed -ri "s/import sys, os/import sys, os, numpy/" setup.py && \
sed -ri "s/'lear_gist',/'lear_gist', numpy.get_include\(\)/" setup.py && \
$CONDA_DIR/envs/python2/bin/python setup.py build && \
$CONDA_DIR/envs/python2/bin/python setup.py install
USER $NB_USER
WORKDIR /home/$NB_USER/work
Content type
Image
Digest
Size
1.4 GB
Last updated
over 9 years ago
docker pull user01e/scipy-notebook-extras:0.3.0