-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
74 lines (71 loc) · 1.89 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
FROM mccpetrinets/ltsmin
RUN true \
&& echo "APT::Install-Recommends "0";" >> /etc/apt/apt.conf.d/10norecommends \
&& echo "APT::Install-Suggests "0";" >> /etc/apt/apt.conf.d/10norecommends \
&& apt-get update \
&& apt-get install \
--yes \
--fix-missing \
autoconf \
automake \
bash \
ca-certificates \
cmake \
curl \
gcc \
g++ \
git \
gperf \
libgmpxx4ldbl \
libgmp10 \
libgmp-dev \
make \
python2.7 \
python2.7-dev \
z3 \
default-jre-headless \
&& git clone --depth=1 https://github.com/SRI-CSL/libpoly.git \
&& mkdir -p libpoly/build \
&& cd libpoly/build \
&& cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
&& make \
&& make install \
&& cd ../.. \
&& rm -rf libpoly* \
&& git clone --depth=1 https://github.com/SRI-CSL/yices2.git \
&& cd yices2 \
&& autoconf \
&& ./configure --prefix=/usr --enable-mcsat \
&& make \
&& make install \
&& cd .. \
&& rm -rf yices2* \
&& curl https://yanntm.github.io/ITS-commandline/itscl_linux.tgz \
--output itscl_linux.tgz \
&& tar xf itscl_linux.tgz \
&& mv eclipse /usr/share/itscl \
&& rm -f itscl_linux.tgz \
&& rm -f runeclipse.sh \
&& apt-get purge \
--yes \
autoconf \
automake \
cmake \
curl \
gcc \
g++ \
git \
gperf \
libgmp-dev \
make \
python2.7-dev \
&& apt-get autoremove \
--yes \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& true
COPY mcc-head /usr/bin/
WORKDIR /mcc-data
VOLUME [ "/mcc-data" ]
ENTRYPOINT [ "mcc-head" ]
CMD [ "--help" ]