Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docker/Dockerfile.zeratool_lib
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10
FROM python:3.11

# Install and configure Poetry
RUN pip3 install poetry
Expand All @@ -9,16 +9,17 @@ RUN wget https://raw.githubusercontent.com/jla524/requirements/main/requirements

# Convert Zeratool's dependencies
COPY /docker/zeratool_lib /zeratool_lib
RUN python3 /convert.py --noversion /zeratool_lib
RUN python3 /convert.py --no-version /zeratool_lib
RUN mv /zeratool_lib/requirements.txt /requirements.zeratool_lib.txt

# Copies service's dependencies
COPY /docker/requirements.txt /requirements.service.txt

# Convert module's dependencies
COPY /pyproject.toml /pyproject.toml
RUN python3 /convert.py --noversion /
RUN python3 /convert.py --no-version /
RUN mv /requirements.txt /requirements.aeg.txt
RUN sed -i '/^\.\.\//d' /requirements.aeg.txt

# Install all dependencies
RUN pip3 install -r /requirements.service.txt
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ packages = [{include = "automatic_exploit_generation"}]
[tool.poetry.dependencies]
python = "^3.10"
pwntools = "^4.10.0"
docker = "^6.1.2"
docker = "==7.1.0"
grpcio = "^1.54.2"
protobuf = "^4.23.2"
click = "^8.1.3"
Expand Down