mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-21 20:13:04 +00:00
Update Dockerfile
- Use apt-get instead of apt, and install all packages at once - Do a shallow clone. Saves bandwidth and time.
This commit is contained in:
parent
80fe70d706
commit
403d0a99e6
1 changed files with 3 additions and 3 deletions
|
@ -1,14 +1,14 @@
|
|||
FROM ubuntu:latest
|
||||
|
||||
# Update sources and install git
|
||||
RUN apt update -y && apt install git -y && apt install python3-pip -y
|
||||
RUN apt-get update -y && apt-get install -y git python3-pip
|
||||
|
||||
#Git configuration
|
||||
RUN git config --global user.name "YOUR NAME HERE" \
|
||||
&& git config --global user.email "YOUR EMAIL HERE"
|
||||
|
||||
# Clone SETOOLKIT
|
||||
RUN git clone https://github.com/trustedsec/social-engineer-toolkit.git
|
||||
RUN git clone --depth=1 https://github.com/trustedsec/social-engineer-toolkit.git
|
||||
|
||||
# Change Working Directory
|
||||
WORKDIR /social-engineer-toolkit
|
||||
|
@ -21,4 +21,4 @@ RUN python3 setup.py
|
|||
|
||||
ENTRYPOINT [ "./setoolkit" ]
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue