Skip to content

Commit 8ee25be

Browse files
authored
Dockerization using Kitsec Pip (#11)
* update dockerfile * update dockerfile * add go dependencies * final dockerization
1 parent 76045d3 commit 8ee25be

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,13 @@ docker build -t kitsec .
6565
To run kitsec within the docker container:
6666

6767
````
68-
docker run -it kitsec python core/kitsec/cli/main.py <command> <options>
68+
docker run -it kitsec kitsec <command> <options>
69+
````
70+
71+
For example:
72+
73+
````
74+
docker run -it kitsec kitsec cve python -l 2
6975
````
7076

7177
</details>

core/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $ brew install docker-compose docker
5656
<summary>Run using Docker </summary>
5757

5858

59-
To build the docker image run:
59+
o build the docker image run:
6060

6161
````
6262
docker build -t kitsec .
@@ -65,7 +65,13 @@ docker build -t kitsec .
6565
To run kitsec within the docker container:
6666

6767
````
68-
docker run -it kitsec python core/kitsec/cli/main.py <command> <options>
68+
docker run -it kitsec kitsec <command> <options>
69+
````
70+
71+
For example:
72+
73+
````
74+
docker run -it kitsec kitsec cve python -l 2
6975
````
7076

7177
</details>

docker/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ WORKDIR /app
2626

2727
# Upgrade pip and install the kitsec package from TestPyPI
2828
RUN pip install --upgrade pip
29-
RUN pip install kitsec==0.1.6rc3
29+
RUN pip install kitsec
30+
31+
# Install subfinder
32+
RUN go install github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
33+
34+
# Install amass
35+
RUN go install -v github.com/OWASP/Amass/v3/...@master
3036

3137
# Set the working directory to the parent directory of core
3238
WORKDIR /app

0 commit comments

Comments
 (0)