Skip to content

Commit

Permalink
Dockerization using Kitsec Pip (#11)
Browse files Browse the repository at this point in the history
* update dockerfile

* update dockerfile

* add go dependencies

* final dockerization
  • Loading branch information
idrisschebak authored Mar 15, 2023
1 parent 76045d3 commit 8ee25be
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ docker build -t kitsec .
To run kitsec within the docker container:

````
docker run -it kitsec python core/kitsec/cli/main.py <command> <options>
docker run -it kitsec kitsec <command> <options>
````

For example:

````
docker run -it kitsec kitsec cve python -l 2
````

</details>
Expand Down
10 changes: 8 additions & 2 deletions core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $ brew install docker-compose docker
<summary>Run using Docker </summary>


To build the docker image run:
o build the docker image run:

````
docker build -t kitsec .
Expand All @@ -65,7 +65,13 @@ docker build -t kitsec .
To run kitsec within the docker container:

````
docker run -it kitsec python core/kitsec/cli/main.py <command> <options>
docker run -it kitsec kitsec <command> <options>
````

For example:

````
docker run -it kitsec kitsec cve python -l 2
````

</details>
Expand Down
8 changes: 7 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ WORKDIR /app

# Upgrade pip and install the kitsec package from TestPyPI
RUN pip install --upgrade pip
RUN pip install kitsec==0.1.6rc3
RUN pip install kitsec

# Install subfinder
RUN go install github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest

# Install amass
RUN go install -v github.com/OWASP/Amass/v3/...@master

# Set the working directory to the parent directory of core
WORKDIR /app
Expand Down

0 comments on commit 8ee25be

Please sign in to comment.