-
Notifications
You must be signed in to change notification settings - Fork 7
/
Dockerfile
38 lines (26 loc) · 899 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM andrewosh/binder-base
USER root
RUN echo "root:root" | chpasswd
RUN echo "main:main" | chpasswd
USER main
# install demo support
RUN conda install \
ipywidgets \
numpy \
&& pip install \
czml \
geocoder
RUN /home/main/anaconda/envs/python3/bin/pip install --upgrade pip
RUN /home/main/anaconda/envs/python3/bin/pip install \
czml \
geocoder \
ipywidgets
#RUN git clone https://github.com/petrushy/CesiumWidget.git --depth=1
#RUN git clone https://github.com/OSGeo-live/CesiumWidget --depth=1
RUN git clone https://github.com/epifanio/CesiumWidget --depth=1
WORKDIR CesiumWidget
RUN python setup.py install
RUN /home/main/anaconda/envs/python3/bin/python setup.py install
# jupyter-pip so crazy. this is cheating, as a real user wouldn't have
# the source checked out...
RUN jupyter nbextension install CesiumWidget/static/CesiumWidget --user --quiet