Skip to content

Commit 63eee66

Browse files
author
nicolaka
committed
added tshark, termshark and updated README
1 parent 4630a60 commit 63eee66

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

Dockerfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ RUN set -ex \
2020
ethtool \
2121
file\
2222
fping \
23+
httpie \
2324
iftop \
2425
iperf \
2526
iproute2 \
@@ -46,9 +47,9 @@ RUN set -ex \
4647
strace \
4748
tcpdump \
4849
tcptraceroute \
50+
tshark \
4951
util-linux \
50-
vim \
51-
httpie
52+
vim
5253

5354

5455

@@ -62,6 +63,14 @@ RUN wget https://github.com/bcicen/ctop/releases/download/v0.7.1/ctop-0.7.1-linu
6263
ARG CALICOCTL_VERSION=v3.13.3
6364
RUN wget https://github.com/projectcalico/calicoctl/releases/download/${CALICOCTL_VERSION}/calicoctl && chmod +x calicoctl && mv calicoctl /usr/local/bin
6465

66+
# Installing termshark
67+
ENV TERMSHARK_VERSION 2.1.1
68+
RUN wget https://github.com/gcla/termshark/releases/download/v${TERMSHARK_VERSION}/termshark_${TERMSHARK_VERSION}_linux_x64.tar.gz -O /tmp/termshark_${TERMSHARK_VERSION}_linux_x64.tar.gz && \
69+
tar -zxvf /tmp/termshark_${TERMSHARK_VERSION}_linux_x64.tar.gz && \
70+
mv termshark_${TERMSHARK_VERSION}_linux_x64/termshark /usr/local/bin/termshark && \
71+
chmod +x /usr/local/bin/termshark
72+
73+
6574
# Settings
6675
ADD motd /etc/motd
6776
ADD profile /etc/profile

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ To troubleshoot these issues, `netshoot` includes a set of powerful tools as rec
9898
strace
9999
tcpdump
100100
tcptraceroute
101+
termshark
102+
tshark
101103
util-linux
102104
vim
103105

0 commit comments

Comments
 (0)