mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 13:03:02 +02:00
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:
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user