-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
67 lines (51 loc) · 1.77 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Start from a core Data Stack stack version
FROM jupyter/datascience-notebook:7debeb6894d1
# Install the default environment
RUN pip install aiohttp pysal
# Install mapping support
RUN pip install mapboxgl psycopg2-binary geopandas
# Install mapping services
RUN pip install openrouteservice
RUN pip install folium
# Install frictionless data toolchain
RUN pip install dataflows
RUN pip install frictionless[all]
RUN pip install frictionless-geojson
# RUN npm install -g data-cli
# Install plotting librariers
RUN pip install matplotlib
# Install additional ML tools
RUN pip install TextBlob TextBlob-de
# Add template support
RUN pip install jupyterlab_templates
RUN jupyter labextension install jupyterlab_templates
RUN jupyter serverextension enable --py jupyterlab_templates
# Add git support
RUN pip install --upgrade jupyterlab-git
# RUN jupyter labextension install jupyterlab_git -y
#RUN jupyter serverextension enable --py --sys-prefix jupyterlab_git
RUN jupyter lab build -y --debug
RUN jupyter server extension enable --py jupyterlab_git
# Add JS support
RUN npm install -g ijavascript
RUN ijsinstall
#Deprecated: --ijs-install=global
# add draw io extension
RUN pip install --upgrade jupyterlab-drawio
RUN jupyter server extension enable --py jupyterlab_drawio
# s3 browser
RUN pip install jupyterlab-s3-browser
RUN jupyter server extension enable --py jupyterlab_s3_browser
RUN jupyter lab build -y --debug
# Geo tools
RUN pip install osmnx
USER root
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:ubuntugis/ppa && sudo apt-get update
RUN apt-get install -y gdal-bin
RUN apt-get install -y libgdal-dev
# RUN export CPLUS_INCLUDE_PATH=/usr/include/gdal
# RUN export C_INCLUDE_PATH=/usr/include/gdal
# RUN pip install GDAL
USER 1000