forked from nicolaka/netshoot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·72 lines (64 loc) · 1.65 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
61
62
63
64
65
66
67
68
69
70
71
72
FROM alpine:3.8
RUN set -ex \
&& echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \
&& echo "http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk update \
&& apk upgrade \
&& apk add --no-cache \
apache2-utils \
bash \
bind-tools \
bird \
bridge-utils \
busybox-extras \
conntrack-tools \
curl \
dhcping \
drill \
ethtool \
file\
fping \
iftop \
iperf \
iproute2 \
iptables \
iptraf-ng \
iputils \
ipvsadm \
libc6-compat \
liboping \
mtr \
net-snmp-tools \
netcat-openbsd \
nftables \
ngrep \
nano \
nmap \
nmap-nping \
openssl \
py-crypto \
py2-virtualenv \
python2 \
scapy \
socat \
strace \
tar \
tcpdump \
tcptraceroute \
util-linux \
vim
# apparmor issue #14140
RUN mv /usr/sbin/tcpdump /usr/bin/tcpdump
# Installing ctop - top-like container monitor
RUN wget https://github.com/bcicen/ctop/releases/download/v0.7.1/ctop-0.7.1-linux-amd64 -O /usr/local/bin/ctop && chmod +x /usr/local/bin/ctop
# Installing gRPCurl
RUN wget -qO- https://github.com/fullstorydev/grpcurl/releases/download/v1.2.1/grpcurl_1.2.1_linux_x86_64.tar.gz | tar xzvf - -C /usr/local/bin/ grpcurl && chmod +x /usr/local/bin/grpcurl
# Installing calicoctl
ARG CALICOCTL_VERSION=v3.3.1
RUN wget https://github.com/projectcalico/calicoctl/releases/download/${CALICOCTL_VERSION}/calicoctl && chmod +x calicoctl && mv calicoctl /usr/local/bin
# Netgen
ADD netgen.sh /usr/local/bin/netgen
# Settings
ADD motd /etc/motd
ADD profile /etc/profile
CMD ["/bin/bash","-l"]