Skip to content
Snippets Groups Projects
Verified Commit cf6ec4b6 authored by Chris Coley's avatar Chris Coley
Browse files

Expose ports on TCP and UDP protocols

parent 7a704c3d
Branches
No related tags found
No related merge requests found
......@@ -6,13 +6,13 @@ FROM base AS iperf2
ENV IPERF_VERSION="2.2.0-r0"
RUN apk add --no-cache iperf=${IPERF_VERSION}
ENTRYPOINT ["iperf", "-s"]
EXPOSE 5001
EXPOSE 5001/tcp 5001/udp
# iPerf 3 image
FROM base AS iperf3
ENV IPERF_VERSION="3.17.1-r0"
RUN apk add --no-cache iperf3=${IPERF_VERSION}
ENTRYPOINT ["iperf3", "-s"]
EXPOSE 5201
EXPOSE 5201/tcp 5201/udp
# vi: set ts=4 sw=4 et ft=dockerfile:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment