-
Notifications
You must be signed in to change notification settings - Fork 12
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 #46 from KreativeThinker/master
fix: ASD ~Aadivishnu
- Loading branch information
Showing
7 changed files
with
61 additions
and
52 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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
FROM python:3.12-slim | ||
|
||
ENV DOCKER_HOST=unix:///var/run/docker.sock | ||
|
||
WORKDIR /app | ||
|
||
RUN pip install poetry | ||
|
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 was deleted.
Oops, something went wrong.
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,17 @@ | ||
import asyncio | ||
|
||
import aiodocker | ||
|
||
from pwncore.config import config | ||
|
||
docker_client: aiodocker.Docker = None # type: ignore[assignment] | ||
|
||
|
||
# if not hasattr(sys, "_is_a_test"): | ||
# docker_client = aiodocker.Docker(url=config.docker_url) | ||
# | ||
# async def create_docker_client(): | ||
# return aiodocker.Docker(url=config.docker_url) | ||
|
||
|
||
# docker_client = asyncio.run(create_docker_client()) |
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
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