mirror of
https://github.com/trustedsec/social-engineer-toolkit
synced 2024-11-28 15:30:21 +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
|
FROM ubuntu:latest
|
||||||
|
|
||||||
# Update sources and install git
|
# 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
|
#Git configuration
|
||||||
RUN git config --global user.name "YOUR NAME HERE" \
|
RUN git config --global user.name "YOUR NAME HERE" \
|
||||||
&& git config --global user.email "YOUR EMAIL HERE"
|
&& git config --global user.email "YOUR EMAIL HERE"
|
||||||
|
|
||||||
# Clone SETOOLKIT
|
# 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
|
# Change Working Directory
|
||||||
WORKDIR /social-engineer-toolkit
|
WORKDIR /social-engineer-toolkit
|
||||||
|
|
Loading…
Reference in a new issue