From 19ebc9efb9be4e31cada72e08cb7f9a0c03b3c32 Mon Sep 17 00:00:00 2001 From: Will Daly Date: Wed, 6 Nov 2024 11:21:20 -0800 Subject: [PATCH] feat: remove bpftool/bpftrace and add nc and jq to retina-shell image 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 --- shell/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/Dockerfile b/shell/Dockerfile index 84cde72a6d..36de6d51be 100644 --- a/shell/Dockerfile +++ b/shell/Dockerfile @@ -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 \ @@ -18,10 +16,12 @@ RUN tdnf install -y \ ipset \ iptables \ iputils \ + jq \ ldns-utils \ net-tools \ nftables \ nmap \ + nmap-ncat \ openssh \ socat \ tcpdump \