-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
45 lines (34 loc) · 937 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y \
bison \
build-essential \
clang \
cmake \
doxygen \
flex \
g++ \
git \
libffi-dev \
libncurses5-dev \
libsqlite3-dev \
make \
mcpp \
python3 \
zlib1g-dev \
wget \
unzip \
lsb-release \
python3-pip \
dpkg
RUN wget -P /tmp https://github.com/souffle-lang/souffle/releases/download/2.2/x86_64-ubuntu-2104-souffle-2.2-Linux.deb \
&& dpkg -i /tmp/x86_64-ubuntu-2104-souffle-2.2-Linux.deb \
&& apt-get install -y -f \
&& rm /tmp/x86_64-ubuntu-2104-souffle-2.2-Linux.deb
COPY requirements.txt /tmp/requirements.txt
WORKDIR /symlog
COPY . /symlog
ENV PYTHONPATH /symlog
RUN python3 -m pip install -r /tmp/requirements.txt \
&& python3 -m pip install -e .