This commit is contained in:
Cabillot Julien
2018-05-22 17:45:49 -04:00
commit aac0d8bf7b
2 changed files with 50 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM "alpine:3.7"
LABEL maintainer="Cabillot Julien <dockerimages@cabillot.eu>"
RUN apk add --no-cache iperf3 && \
adduser -D iperf
# Add Tini
ENV "TINI_VERSION" "v0.16.1"
ADD "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" "/tini"
RUN chmod +x "/tini"
ENTRYPOINT ["/tini", "--"]
USER "iperf"
CMD [ "/usr/bin/iperf3" ]