Skip to content

Commit 70a4efa

Browse files
committed
expose netperf ports
1 parent 984137e commit 70a4efa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ RUN apt-get update && \
1313
RUN curl -LO ftp://ftp.netperf.org/netperf/netperf-2.7.0.tar.gz && tar -xzf netperf-2.7.0.tar.gz
1414
RUN cd netperf-2.7.0 && ./configure && make && make install
1515

16+
EXPOSE 12865/udp
17+
EXPOSE 12865/tcp
18+
1619
USER 1001
1720
CMD ["/usr/local/bin/netserver", "-D"]

0 commit comments

Comments
 (0)