-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds Dockerfile with dependencies required for running the tool
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |