Skip to content

Commit 114236f

Browse files
[CI][Container] Add sycl user to the render group (intel#15324)
Render group is required for the sycl user to access the PVC card in the docker container. https://dgpu-docs.intel.com/driver/installation.html#installing-gpu-drivers
1 parent eaa0b7d commit 114236f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

devops/containers/ubuntu2204_base.Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ RUN groupadd -g 1001 sycl && useradd sycl -u 1001 -g 1001 -m -s /bin/bash
1616
# Add sycl user to video/irc groups so that it can access GPU
1717
RUN usermod -aG video sycl
1818
RUN usermod -aG irc sycl
19+
20+
# group 109 is required for sycl user to access PVC card.
21+
RUN groupadd -g 109 render
22+
RUN usermod -aG render sycl
23+
1924
# Allow sycl user to run as sudo
2025
RUN echo "sycl ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
2126

0 commit comments

Comments
 (0)