-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Dockerfile, .dockerignore, requirements.txt
Added Dockerfile and .dockerignore to allow docker image building and running the tool in a containerized environment containing everything is needed for the tool to work. Added requirements.txt to allow easily installing required python packages.
- Loading branch information
1 parent
5612346
commit 06c9961
Showing
3 changed files
with
17 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,5 @@ | ||
Tests | ||
.gitignore | ||
.gitmodules | ||
.dockerignore | ||
Dockerfile |
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,10 @@ | ||
FROM ubuntu:focal | ||
ENV TZ=Europe/Rome | ||
ENV DEPS="ninja-build libglib2.0-dev make gcc g++ pkg-config python3 python3-pip git" | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
WORKDIR /opt/MemTraceThesis | ||
COPY . . | ||
RUN apt-get -y update && apt-get -y install $DEPS && git checkout development && python3 -m pip install -r requirements.txt && make | ||
ENV PATH="/opt/MemTraceThesis/bin:${PATH}" | ||
WORKDIR /home | ||
CMD ["/bin/bash"] |
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,2 @@ | ||
psutil | ||
pyelftools |