Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
iPerf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
iPerf
Commits
cf6ec4b6
Verified
Commit
cf6ec4b6
authored
7 months ago
by
Chris Coley
Browse files
Options
Downloads
Patches
Plain Diff
Expose ports on TCP and UDP protocols
parent
7a704c3d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-2
2 additions, 2 deletions
Dockerfile
with
2 additions
and
2 deletions
Dockerfile
+
2
−
2
View file @
cf6ec4b6
...
...
@@ -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:
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment