forked from ct2034/miriam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
55 lines (45 loc) · 1.29 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
FROM ubuntu:xenial
# REQUIREMENTS
RUN apt-get update
# bonmin
RUN apt-get install -y libblas3 liblapack3 wget
#####
# roadmap
# RUN apt-get install -y sudo cmake libcgal-dev libcgal-qt5-dev libeigen3-dev libmgl-dev mathgl qt5-default libboost-filesystem-dev
# RUN wget http://ompl.kavrakilab.org/core/install-ompl-ubuntu.sh
# RUN sh install-ompl-ubuntu.sh
#####
# python
RUN apt-get install -y python3 python3-pip python3-tk git iputils-ping
COPY requirements.txt /
RUN mkdir /miriam/
RUN pip3 install -r requirements.txt
#####
# bonmin
RUN wget https://www.coin-or.org/download/binary/CoinAll/CoinAll-1.6.0-linux-x86_64-gcc4.4.5.tgz
RUN tar -xzf CoinAll-1.6.0-linux-x86_64-gcc4.4.5.tgz
RUN ln -s /usr/lib/liblapack.so.3 /lib/liblapack.so.3gf
RUN ln -s /usr/lib/libblas.so.3 /lib/libblas.so.3gf
#####
# cobra
RUN apt-get update
RUN apt-get -y install git gcc make libboost-all-dev g++
RUN git clone https://github.com/ct2034/cobra.git
WORKDIR cobra/COBRA
RUN make all
RUN cp cobra /miriam/
RUN chmod +x /miriam/cobra
ENV COBRA_BIN='/miriam/cobra'
#####
COPY . /miriam/
# roadmap
# RUN mkdir -p /miriam/roadmaps/prm-star/prm-star/build
# WORKDIR /miriam/roadmaps/prm-star/prm-star/build
# RUN cmake ..
# RUN make all
#####
# python
WORKDIR /miriam
ENV PYTHONPATH /miriam
CMD ["py.test","/miriam/.","-vs"]
#####