-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
45 lines (38 loc) · 1.15 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
FROM debian:stable-slim
MAINTAINER Sascha Meiers meiers@embl.de
# Install Last (and clean up afterwards)
# Note: pthreads should be already pre-installed
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
make \
g++ \
mercurial \
&& cd /opt \
&& hg clone http://last.cbrc.jp/last/ \
&& cd /opt/last \
&& make \
&& make install \
&& cd /opt/ \
&& rm -r /opt/last \
&& apt-get remove -y make g++ mercurial \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
# Install Mummer3
RUN apt-get update \
&& apt-get install --no-install-recommends -y mummer \
&& rm -rf /var/lib/apt/lists/*
# Install maze
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
python \
python-pip \
git \
&& cd /opt \
&& git clone https://github.com/dellytools/maze.git \
&& cd /opt/maze \
&& cat requirements/python2.7.txt | xargs pip install \
&& apt-get remove -y python-pip git \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
# default command
CMD ["python", "/opt/maze/maze_server.py", "--host=0.0.0.0"]