Skip to content

Commit

Permalink
Merge branch 'devel' into kind-0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
tpantelis authored Jan 7, 2025
2 parents 7936d2d + 4b0d9a4 commit 6f0d69d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package/Dockerfile.nettest
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
ARG FEDORA_VERSION=41

FROM --platform=${BUILDPLATFORM} fedora:${FEDORA_VERSION} AS base
ARG VERSION
ARG FEDORA_VERSION
ARG TARGETPLATFORM

COPY scripts/shared/dnf_install /

RUN /dnf_install -a ${TARGETPLATFORM} -v ${FEDORA_VERSION} -r /output/nettest \
glibc bash glibc-minimal-langpack coreutils-single libcurl-minimal \
bind-utils curl-minimal iperf3 iputils netperf nmap-ncat tcpdump
bind-utils busybox curl-minimal iperf3 iproute iputils netperf nmap-ncat tcpdump

FROM scratch
ARG TARGETPLATFORM
ARG VERSION
ENV PATH="/app:$PATH"

COPY --from=base /output/nettest /
Expand Down
2 changes: 1 addition & 1 deletion scripts/nettest/metricsproxy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

# Arguments: source-port target-IP target-port
exec /usr/bin/ncat -v -lk -p "$1" -c "/usr/bin/ncat $2 $3"
exec /usr/sbin/busybox nc -v -lk -p "$1" -e /usr/sbin/busybox nc "$2" "$3"

0 comments on commit 6f0d69d

Please sign in to comment.