-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
26 lines (20 loc) · 859 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
FROM debian:8
MAINTAINER Remi Rampin <[email protected]>
# http.debian.net seems to contain bad mirrors, use something else
RUN \
sh -c 'echo "deb http://ftp.us.debian.org/debian jessie main" > /etc/apt/sources.list' && \
sh -c 'echo "deb http://ftp.us.debian.org/debian jessie-updates main" >> /etc/apt/sources.list' && \
sh -c 'echo "deb http://security.debian.org jessie/updates main" >> /etc/apt/sources.list'
# Install VisTrails deps from distrib
RUN \
apt-get update && \
apt-get install -y python python-dateutil python-dev \
python-numpy python-paramiko \
python-pip python-scipy \
python-tz git
RUN \
pip install git+https://github.com/vistrails/[email protected]
ADD startup.xml /root/.vistrails/startup.xml
ADD run_workflow.py /
ADD nigeria-avg.vt /
ENTRYPOINT ["python","run_workflow.py","nigeria-avg.vt","alias"]