Files
rt-validation/rt-tests/Dockerfile
Jörg Sommer c1ba82f20a Dockerfile: use apt instead of apt-get and run clean
The main tool to manage packages changed from apt-get to apt. To reduce the
size of the container, cleanup apt's download cache.
2023-06-29 17:28:28 +02:00

14 lines
330 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 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
CMD ["/rt-tests.sh"]