-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 #413 from JinnaBalu/master
Optimized Dockerfile for layer cache and moved all the installations …
- Loading branch information
Showing
3 changed files
with
39 additions
and
26 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,21 +1,12 @@ | ||
FROM kalilinux/kali-rolling | ||
|
||
FROM kalilinux/kali-rolling:latest | ||
RUN apt-get update && \ | ||
apt-get install -y git python3-pip figlet sudo; | ||
|
||
#Install packages dependencies | ||
RUN true && \ | ||
apt-get install -y boxes php curl xdotool wget; | ||
apt-get install -y git python3-pip figlet sudo && \ | ||
apt-get install -y boxes php curl xdotool wget | ||
|
||
WORKDIR /root/hackingtool | ||
COPY requirements.txt ./ | ||
RUN pip3 install --no-cache-dir boxes flask lolcat requests -r requirements.txt | ||
COPY . . | ||
|
||
RUN true && \ | ||
pip3 install boxes flask lolcat requests -r requirements.txt; | ||
|
||
RUN true && \ | ||
echo "/root/hackingtool/" > /home/hackingtoolpath.txt; | ||
|
||
RUN true && echo "/root/hackingtool/" > /home/hackingtoolpath.txt; | ||
EXPOSE 1-65535 | ||
|
||
ENTRYPOINT ["python3", "/root/hackingtool/hackingtool.py"] | ||
ENTRYPOINT ["python3", "/root/hackingtool/hackingtool.py"] |
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