mirror of
https://github.com/toradex/rt-validation.git
synced 2025-08-01 05:59:14 +00:00
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>
13 lines
345 B
Docker
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"]
|