mirror of
https://github.com/Z4nzu/hackingtool
synced 2024-11-14 19:55:19 +00:00
3fd3ce4cb3
Now that pip has a real dependency resolver, use it to install ALL pip dependencies in a single Docker layer. * https://pip.pypa.io/en/stable/topics/dependency-resolution * https://docs.docker.com/storage/storagedriver/#images-and-layers
22 lines
455 B
Docker
22 lines
455 B
Docker
FROM kalilinux/kali-rolling
|
|
|
|
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;
|
|
|
|
WORKDIR /root/hackingtool
|
|
COPY . .
|
|
|
|
RUN true && \
|
|
pip3 install boxes flask lolcat requests -r requirements.txt;
|
|
|
|
RUN true && \
|
|
echo "/root/hackingtool/" > /home/hackingtoolpath.txt;
|
|
|
|
EXPOSE 1-65535
|
|
|
|
ENTRYPOINT ["python3", "/root/hackingtool/hackingtool.py"]
|