Skip to content

Commit

Permalink
Adds Dockerfile with dependencies required for running the tool
Browse files Browse the repository at this point in the history
  • Loading branch information
AdiHarif committed Oct 2, 2024
1 parent a76fe14 commit 2797e7a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

FROM node:22

RUN apt update && apt upgrade -y
RUN apt install -y python3 clang flex bison cmake sqlite3

RUN git clone https://github.com/souffle-lang/souffle && \
cd souffle && \
cmake -S . -B build && \
cmake --build build -j8
RUN ln -s /souffle/build/src/souffle /usr/bin
RUN ln -s /souffle/src/include/souffle /usr/include

RUN useradd -m user
USER user
WORKDIR /home/user

CMD ["/bin/bash"]

0 comments on commit 2797e7a

Please sign in to comment.