File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / iperf / contrib / Dockerfile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:36:45 2021 UTC (3 years, 6 months ago) by misho
Branches: iperf, MAIN
CVS tags: v3_3_9, v3_15, HEAD
iperf 3.3.9

    1: # Instructions:
    2: # - Configure for a static binary: ./configure --enable-static "LDFLAGS=--static" --disable-shared --without-openssl
    3: # - Build: make
    4: # - Build Docker image: docker build -t iperf3 -f contrib/Dockerfile .
    5: #
    6: # Example invocations:
    7: # - Help: docker run iperf3 --help
    8: # - Server: docker run -p 5201:5201 -it iperf3 -s
    9: # - Client: docker run -it iperf3 -c 192.168.1.1 (note: since this is a minimal image and does not include DNS, name resolution will not work)
   10: FROM scratch
   11: COPY src/iperf3 /iperf3
   12: COPY tmp /tmp
   13: ENTRYPOINT ["/iperf3"]
   14: EXPOSE 5201
   15: CMD ["-s"]

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>