-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #241 from stratosphereips/cyst-integration
Add blocking, Optional global defender and bug fixes
- Loading branch information
Showing
20 changed files
with
1,231 additions
and
700 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 @@ | ||
.git | ||
.github | ||
.gitignore | ||
.gitmodules | ||
.pytest_cache | ||
.ruff_cache | ||
.vscode | ||
docs/ | ||
figures/ | ||
mlruns/ | ||
tests/ | ||
trajectories/ | ||
NetSecGameAgents/ | ||
notebooks/ | ||
readme_images/ | ||
tests/ | ||
*trajectories*.json | ||
README.md |
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,29 @@ | ||
# Use an official Python 3.12 runtime as a parent image | ||
FROM python:3.12-slim | ||
|
||
# Set the working directory in the container | ||
ENV DESTINATION_DIR=/aidojo | ||
|
||
|
||
# Install system dependencies | ||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
git \ | ||
build-essential \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
RUN pip install --upgrade pip | ||
|
||
COPY . ${DESTINATION_DIR}/ | ||
|
||
# Set the working directory in the container | ||
WORKDIR ${DESTINATION_DIR} | ||
|
||
# Install any necessary Python dependencies | ||
# If a requirements.txt file is in the repository | ||
RUN if [ -f requirements.txt ]; then pip install --no-cache-dir -r requirements.txt; fi | ||
|
||
# change the server ip to 0.0.0.0 | ||
RUN sed -i 's/"host": "127.0.0.1"/"host": "0.0.0.0"/' coordinator.conf | ||
|
||
# Run the Python script when the container launches | ||
CMD ["python3", "coordinator.py"] |
Submodule NetSecGameAgents
updated
6 files
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
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
Oops, something went wrong.