-
Notifications
You must be signed in to change notification settings - Fork 23
/
Dockerfile
60 lines (57 loc) · 1.39 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
ARG ALPINE_TAG=latest
FROM alpine:${ALPINE_TAG}
LABEL maintainer="Jon LaBelle <https://jonlabelle.com>" \
description="A Docker image with various network tools pre-installed."
RUN apk -U upgrade \
&& apk add --no-cache \
apache2-utils \
bash \
bash-completion \
bind-tools \
ca-certificates \
coreutils \
curl \
drill \
findutils \
fping \
git \
gping \
ipcalc \
iperf \
iproute2 \
iputils \
jq \
libidn \
macchanger \
masscan \
mtr \
net-tools \
netcat-openbsd \
nftables \
ngrep \
nload \
nmap \
nmap-nping \
nmap-scripts \
oath-toolkit-oathtool \
openssh-client \
openssl \
procps \
socat \
speedtest-cli \
tcpdump \
tcptraceroute \
tshark \
wget \
python3 \
&& apk add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing/ --no-cache \
envsubst \
grpcurl \
hping3 \
&& apk add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community/ --no-cache \
arp-scan \
inetutils-telnet \
kcat \
&& rm -rf /var/cache/apk/* \
&& echo 'export PS1="[network-tools]\$ "' >> /root/.bash_profile
CMD ["/bin/bash", "--login"]