test/infamy: add nmap to test container

- Sort packages alphabetically
 - Add nmap for firewall tests

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2025-10-10 15:14:13 +02:00
parent 7c87034d5e
commit 1735a97dce
2 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
# shellcheck disable=SC2034,SC2154
# Current container image
INFIX_TEST=ghcr.io/kernelkit/infix-test:2.4
INFIX_TEST=ghcr.io/kernelkit/infix-test:2.5
ixdir=$(readlink -f "$testdir/..")
logdir=$(readlink -f "$testdir/.log")
+8 -6
View File
@@ -1,8 +1,12 @@
FROM alpine:3.18.0
# NOTE: please add packages alphabetically!
RUN apk add --no-cache \
busybox-extras \
curl \
e2fsprogs \
e2tools \
ethtool \
fakeroot \
gcc \
git \
@@ -13,7 +17,10 @@ RUN apk add --no-cache \
libc-dev \
libyang-dev \
linux-headers \
make \
nmap \
openssh-client \
openssl \
python3-dev \
qemu-img \
qemu-system-x86_64 \
@@ -22,12 +29,7 @@ RUN apk add --no-cache \
squashfs-tools \
sshpass \
tcpdump \
tshark \
openssl \
curl \
e2tools \
make \
ethtool
tshark
ARG MTOOL_VERSION="3.0"
RUN wget https://github.com/troglobit/mtools/releases/download/v3.0/mtools-$MTOOL_VERSION.tar.gz -O /tmp/mtools-$MTOOL_VERSION.tar.gz