Skip to content

Instantly share code, notes, and snippets.

@jovemfelix
Created December 4, 2020 21:54
Show Gist options
  • Select an option

  • Save jovemfelix/1d40406aabd41ec47026ce0b99e2f523 to your computer and use it in GitHub Desktop.

Select an option

Save jovemfelix/1d40406aabd41ec47026ce0b99e2f523 to your computer and use it in GitHub Desktop.
Alpine + iperf3 + IOZone
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