-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
42 lines (39 loc) · 905 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
39
40
41
42
FROM debian:latest
RUN set -e \
&& apt-get update \
&& apt-get install -yqq \
ipython \
libboost-python-dev \
libboost-thread-dev \
libjpeg-dev \
uuid-dev \
libpq-dev \
python \
python-pip \
python-dev \
python-docutils \
libpython-dev \
cmake \
g++ \
git \
build-essential \
libssl-dev \
libffi-dev \
libxml2-dev \
libxslt1-dev \
zlib1g-dev
RUN set -e \
&& pip install lxml \
&& cd /opt \
&& git clone https://github.com/DDMAL/libmei \
&& cd /opt/libmei/tools \
&& pip install lxml
RUN set -e \
&& rm -rf ../src/modules/* \
&& rm -rf ../python/pymei/Modules/* \
&& cd /opt/libmei \
&& cmake . \
&& make && make install \
&& cd /opt/libmei/python \
&& sed -i 's/boost_python-mt/boost_python/g' setup.py \
&& pip install .