forked from dask/dask-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
21 lines (17 loc) · 814 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM jupyter/scipy-notebook
USER root
# python3 setup
RUN apt-get update && apt-get install -y graphviz
RUN conda install -y numpy scipy pandas h5py matplotlib toolz pytables
RUN conda install -y dask
RUN pip install --upgrade pip
RUN pip install castra graphviz
# python2 setup
RUN /bin/bash -c "source activate python2 && conda install -y numpy scipy pandas h5py matplotlib toolz pytables"
RUN /bin/bash -c "source activate python2 && conda install -y dask"
RUN /bin/bash -c "source activate python2 && pip install --upgrade pip"
RUN /bin/bash -c "source activate python2 && pip install castra graphviz"
USER jovyan
RUN git clone https://github.com/dask/dask-tutorial.git ./dask-tutorial
RUN cd dask-tutorial && python prep.py && cd ..
RUN git clone https://github.com/dask/dask-examples.git ./dask-examples