rt-validation/stress-tests/Dockerfile
Sergio Prado 7a89de9917 stress-tests: improve stress tests
Implement the following improvements in the stress-tests container:

- Show a warning message if an archive file is not found for USB
read/write stress tests
- Show a warning message if Internet is not available to generate
network loads
- Uses 4 different iperf public servers, in case one fails to
connect.

Related-to: TOR-1198

Signed-off-by: Sergio Prado <sergio.prado@toradex.com>
2020-12-11 05:09:39 -03:00

13 lines
345 B
Docker

ARG IMAGE_ARCH=linux/arm
# For IMX8 use IMAGE_ARCH=linux/arm64
ARG IMAGE_TAG=2-bullseye
FROM --platform=$IMAGE_ARCH torizon/debian:$IMAGE_TAG
RUN apt-get update \
&& apt-get install -y --no-install-recommends iperf3 rt-tests iputils-ping \
&& rm -rf /var/lib/apt/lists/*
COPY stress-tests.sh /stress-tests.sh
CMD ["/stress-tests.sh"]