We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b34564 commit 4e5f933Copy full SHA for 4e5f933
1 file changed
images/perf/Dockerfile
@@ -1,6 +1,20 @@
1
+FROM alpine:3.21 AS build-env
2
+RUN apk add --no-cache build-base git autoconf automake perl perl-doc
3
+
4
+# Version 0.4.11 requires ipv6, 0.4.10 does not support ipv6 at all.
5
+# To permit running on nodes where IPv6 is disabled in the kernel, we use 0.4.10.
6
+RUN git clone --branch v0.4.10 --single-branch https://github.com/linux-rdma/qperf.git
7
8
+# Build qperf from source
9
+WORKDIR /qperf
10
+RUN ./cleanup && \
11
+ ./autogen.sh && \
12
+ ./configure && \
13
+ make
14
15
FROM alpine:3.21
16
17
RUN apk add --no-cache iperf3 curl tcpdump
-RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ qperf
18
+COPY --from=build-env /qperf/src/qperf /usr/bin/qperf
19
20
USER perf
0 commit comments