-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·40 lines (34 loc) · 1.2 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
# Sequoia Docker for Debian Jessie
FROM debian:jessie
MAINTAINER Francesco Lupia <[email protected]>
RUN echo "deb [check-valid-until=no] http://cdn-fastly.deb.debian.org/debian jessie main" > /etc/apt/sources.list.d/jessie.list
RUN echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list
RUN apt-get -o Acquire::Check-Valid-Until=false update
# update apt repositories
RUN apt-get install --no-install-recommends -y software-properties-common
RUN apt-get install --no-install-recommends -y -t jessie-backports openjdk-8-jdk
RUN apt-get install --no-install-recommends -y build-essential \
wget \
vim \
git \
python3 \
make \
python3-dev \
g++-4.9 \
pkg-config \
tmux \
cmake \
libboost-all-dev && apt-get clean && rm -rf /var/lib/apt/lists/*
ADD ./sequoia-core /home/sequoia
ADD ./ag-sv-mso.py /home/
ADD ./fl.mso /home/
ADD ./commons-io-2.5.jar /home/
ADD ./examples /home/examples
ADD ./html /home/html
ADD ./out /home/sequoia/out
ADD ./ShapleyMSO.jar /home/
WORKDIR /home/sequoia
RUN ./configure CPPFLAGS="--std=c++11"
RUN make
WORKDIR /home/