-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
54 lines (46 loc) · 1.11 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
FROM fedora:38
RUN dnf upgrade -y && \
dnf install -y \
autoconf \
autogen \
libtool \
git \
vim \
llvm-devel \
clang \
make \
cmake \
ninja-build \
gcc-c++ \
python3 \
python3-devel \
python3-pip \
python3-cffi \
python3-jinja2 \
python3-jsonschema \
python3-GitPython \
gtest-devel \
fish \
which \
python-unversioned-command \
diffutils \
libcurl-devel \
openssl-devel
RUN git clone https://github.com/zacikpa/diffkemp-analysis.git
RUN git clone https://github.com/zacikpa/diffkemp.git
WORKDIR /diffkemp
RUN git checkout structure-pattern
RUN mkdir build && \
cd build && \
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release && \
ninja -j4 && \
cd ..
RUN pip install -r requirements.txt && \
pip install -e .
RUN mkdir /experiment
WORKDIR /experiment
COPY config /experiment/config
COPY custom-patterns /experiment/custom-patterns
COPY experiment-pre.py /experiment/experiment-pre.py
COPY experiment-post.py /experiment/experiment-post.py
ENTRYPOINT /bin/fish