-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
executable file
·43 lines (35 loc) · 990 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM kalilinux/kali-rolling
# Update repos and install tools needed to complete build successfully.
RUN \
apt -y update \
&& DEBIAN_FRONTEND='noninteractive' \
apt -y install --no-install-recommends \
apt-utils \
apt-transport-https \
ca-certificates \
libllvm15 \
tzdata \
console-setup \
webscarab
# Set local timezone
ENV TZ=Australia/Brisbane
# Perform installation of all Kali packages
RUN \
DEBIAN_FRONTEND='noninteractive' \
apt -y install --no-install-recommends kali-linux-headless
# Install wordlists
RUN \
DEBIAN_FRONTEND='noninteractive' \
apt -y install --no-install-recommends seclists
# Extract rockyou.txt and remove archive
RUN \
gunzip /usr/share/wordlists/rockyou.txt.gz
# Final confirmation that packages are up to date
RUN \
apt -y update \
&& DEBIAN_FRONTEND='noninteractive' apt -y upgrade \
&& DEBIAN_FRONTEND='noninteractive' apt autoremove
USER root
ENTRYPOINT ["/bin/bash"]
USER root
ENTRYPOINT ["/bin/bash"]