mirror of
https://github.com/toradex/rt-validation.git
synced 2026-02-21 22:46:21 +00:00
The main tool to manage packages changed from apt-get to apt. To reduce the size of the container, cleanup apt's download cache.
14 lines
330 B
Docker
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"]
|