VNC-151 Update container run command to include GPU device mapping for video acceleration

This commit is contained in:
El 2025-11-26 08:06:38 +00:00
parent 7429dfca1c
commit 0582e63ebc
No known key found for this signature in database
GPG Key ID: 205388FEB607950A

View File

@ -44,7 +44,8 @@ for file in "$script_dir"/dockerfile.*.build; do
echo "Running container from image '$image_name'"
# Run the container and capture the exit code
docker run -it -v "$current_dir":/src -v "$current_dir/builder/build":/build "$image_name"
docker run -it -v "$current_dir":/src -v "$current_dir/builder/build":/build --device=/dev/dri:/dev/dri "$image_name"
exit_code=$?
echo "Container for image '$image_name' "