-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
50 lines (45 loc) · 1.2 KB
/
Dockerfile
File metadata and controls
50 lines (45 loc) · 1.2 KB
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
# This file was used in the evaluation part of a paper.
# As the development of the code, the dockerfile might be broken.
# syntax=docker/dockerfile:1
FROM ubuntu:22.04
# docker build -t omt:latest .
# docker run -it omt:latest
# change apt source
RUN sed -i s@/archive.ubuntu.com/@/mirrors.zju.edu.cn/@g /etc/apt/sources.list
RUN apt-get clean
RUN apt-get update
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
git \
vim \
tmux \
wget \
curl \
# for Yices2
libgmp-dev\
swig \
cmake \
autoconf \
gperf \
libboost-all-dev \
build-essential \
default-jre \
zip \
# for Bitwuzla
ninja-build \
pkg-config
RUN mkdir omt
COPY . /omt
# install omt package requirements
RUN pip install -r /omt/requirements.txt
ENV PYTHONPATH /omt
# install cudd library
RUN git clone -b 3val https://github.com/martinjonas/cudd.git
RUN cd cudd && ./configure --enable-silent-rules --enable-obj --enable-shared && make -j4 && make install
# install antlr
RUN wget https://www.antlr.org/download/antlr-4.11.1-complete.jar -P /usr/share/java
WORKDIR /omt/bin_solvers/
RUN chmod +x /omt/bin_solvers/download.sh
RUN /omt/bin_solvers/download.sh
WORKDIR /