Created
December 4, 2020 21:54
-
-
Save jovemfelix/1d40406aabd41ec47026ce0b99e2f523 to your computer and use it in GitHub Desktop.
Alpine + iperf3 + IOZone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM alpine:latest | |
| #FROM alpine:3.9 | |
| MAINTAINER Renato Felix | |
| ENV IOZONE_VERSION 3.489 | |
| ENV IOZONE_URL http://www.iozone.org/src/current/iozone3_490.tar | |
| RUN apk --update upgrade && \ | |
| apk add --no-cache --virtual=temporary iperf3 curl gcc make build-base && \ | |
| curl ${IOZONE_URL} > /tmp/iozone.tar && \ | |
| cd /tmp && \ | |
| tar -xf /tmp/iozone.tar && \ | |
| cd /tmp/iozone*/src/current && \ | |
| make linux && \ | |
| cp iozone /usr/bin/iozone && \ | |
| adduser -S iperf && \ | |
| apk del temporary && \ | |
| rm -rf /var/cache/apk/* /tmp/iozone* | |
| CMD /bin/sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment