Skip to content

Commit f018c78

Browse files
task-jptronical
authored andcommitted
Torizon: Update Torizon base images to version 4
Replace deprecated debian-cross-toolchain with cross-toolchain and update base image version from 3 to 4. https://github.com/toradex/debian-cross-toolchains ``` This repository has been incorporated into [toradex/torizon-containers](https://github.com/toradex/torizon-containers). ```
1 parent ad2827d commit f018c78

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docker/Dockerfile.torizon-demos

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55

66
ARG TOOLCHAIN_ARCH=arm64
77
ARG IMAGE_ARCH=linux/arm64
8+
ARG BASE_VERSION=4
89
ARG BASE_NAME=wayland-base
9-
FROM torizon/debian-cross-toolchain-$TOOLCHAIN_ARCH:3-bookworm AS build
10+
FROM torizon/cross-toolchain-$TOOLCHAIN_ARCH:${BASE_VERSION} AS build
1011
ARG TOOLCHAIN_ARCH
1112
ARG RUST_TOOLCHAIN_ARCH=aarch64-unknown-linux-gnu
1213

@@ -43,7 +44,7 @@ RUN mkdir demos_compiled \
4344
done
4445

4546
# Create container for target
46-
FROM --platform=$IMAGE_ARCH torizon/$BASE_NAME:3
47+
FROM --platform=${IMAGE_ARCH} torizon/${BASE_NAME}:${BASE_VERSION} AS deploy
4748

4849
LABEL org.opencontainers.image.source=https://github.com/slint-ui/slint
4950
LABEL org.opencontainers.image.description="Container image providing Slint demos for use on Torizon. Run with docker run --user=torizon -v /run/udev:/run/udev -v /dev:/dev -v /tmp:/tmp --device-cgroup-rule='c 199:* rmw' --device-cgroup-rule='c 226:* rmw' --device-cgroup-rule='c 13:* rmw' --device-cgroup-rule='c 4:* rmw'. Available demos: printerdemo slide_puzzle gallery opengl_underlay carousel todo"

0 commit comments

Comments
 (0)