Skip to content

Commit

Permalink
feat: remove bpftool/bpftrace and add nc and jq to retina-shell image
Browse files Browse the repository at this point in the history
bpftool/bpftrace don't work from inside the container, so remove them
from the image.

nc is useful for testing TCP connectivity, so add it.
jq is useful for parsing IMDS output, so add it too.

Signed-off-by: Will Daly <[email protected]>
  • Loading branch information
wedaly committed Nov 6, 2024
1 parent 57caa93 commit 19ebc9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ FROM mcr.microsoft.com/azurelinux/base/core@sha256:7ec490b605aac8a44aed0b0695b0e
# This will be fixed by https://github.com/microsoft/SymCrypt-OpenSSL/pull/92
RUN tdnf install -y \
bind-utils \
bpftool \
bpftrace \
conntrack \
curl \
ebtables-legacy \
Expand All @@ -18,10 +16,12 @@ RUN tdnf install -y \
ipset \
iptables \
iputils \
jq \
ldns-utils \
net-tools \
nftables \
nmap \
nmap-ncat \
openssh \
socat \
tcpdump \
Expand Down

0 comments on commit 19ebc9e

Please sign in to comment.