-
Notifications
You must be signed in to change notification settings - Fork 12
/
Dockerfile
33 lines (27 loc) · 1.04 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
#
# Docker image for VIZBI 2015 Tutorial
#
# This is a generic setup for network data analysis and visualization.
# This Distribution includes:
# - Python
# - IPython Notebook
# - Standard data analysis tools, including SciPy and NumPy
# - NetworkX, igraph, and graph-tool
#
FROM ipython/scipyserver
MAINTAINER Keiichiro Ono <kono@ucsd.edu>
# For installing graph-tool
RUN mkdir /graph-tool
WORKDIR /graph-tool
ADD . /graph-tool
RUN echo "deb http://downloads.skewed.de/apt/trusty trusty universe" >>/etc/apt/sources.list
RUN echo "deb-src http://downloads.skewed.de/apt/trusty trusty universe" >>/etc/apt/sources.list
RUN apt-key add graph-tool-pub-key.txt
# Install OS-level packages and misc. tools
RUN apt-get update && \
apt-get install -y build-essential libxml2-dev libxslt1-dev \
python-dev libzmq3-dev libcurl4-openssl-dev python3-graph-tool \
curl wget gcc libc6-dev --no-install-recommends && rm -rf /var/lib/apt/lists/*
# Install Python dependencie
RUN pip install networkx python-igraph py2cytoscape requests bokeh
WORKDIR /notebooks