diff --git a/rt-tests/Dockerfile b/rt-tests/Dockerfile index 96331f6..3a0ac17 100644 --- a/rt-tests/Dockerfile +++ b/rt-tests/Dockerfile @@ -3,8 +3,9 @@ ARG IMAGE_ARCH=linux/arm ARG IMAGE_TAG=2-bullseye FROM --platform=$IMAGE_ARCH torizon/debian:$IMAGE_TAG -RUN apt-get update \ - && apt-get install -y --no-install-recommends gnuplot rt-tests \ +RUN apt update \ + && apt install -y --no-install-recommends gnuplot rt-tests \ + && apt clean && rm -rf /var/lib/apt/lists/* COPY rt-tests.sh /rt-tests.sh diff --git a/stress-tests/Dockerfile b/stress-tests/Dockerfile index 0fe639e..cf7e717 100644 --- a/stress-tests/Dockerfile +++ b/stress-tests/Dockerfile @@ -3,8 +3,9 @@ ARG IMAGE_ARCH=linux/arm 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 \ +RUN apt update \ + && apt install -y --no-install-recommends iperf3 rt-tests iputils-ping \ + && apt clean \ && rm -rf /var/lib/apt/lists/* COPY stress-tests.sh /stress-tests.sh