forked from aduong/Paradigm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
27 lines (19 loc) · 796 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
FROM ubuntu:14.04
# Install.
RUN \
sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \
apt-get update && \
apt-get -y upgrade && \
apt-get install -y build-essential && \
apt-get install -y software-properties-common && \
apt-get install -y byobu curl git htop man unzip vim wget && \
apt-get install -y g++ make doxygen graphviz libboost-dev libboost-graph-dev libboost-program-options-dev libboost-test-dev libgmp-dev cimg-dev && \
rm -rf /var/lib/apt/lists/*
RUN git clone https://bitbucket.org/jorism/libdai.git
RUN cp /libdai/Makefile.LINUX libdai/Makefile.conf
RUN cd /libdai && make
#ENV LD_LIBRARY_PATH /libdai/lib/
#ENV LD_LIBRARY_PATH /libdai/include/
RUN git clone https://github.com/a8wright/Paradigm.git
RUN cd /Paradigm && make
WORKDIR /Paradigm