We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3321141 commit c8325f2Copy full SHA for c8325f2
devops/containers/ubuntu2004_base.Dockerfile
@@ -15,9 +15,12 @@ RUN /install.sh
15
RUN groupadd -g 1001 sycl && useradd sycl -u 1001 -g 1001 -m -s /bin/bash
16
# Add sycl user to video group so that it can access GPU
17
RUN usermod -aG video sycl
18
+# Allow sycl user to run as sudo
19
+RUN echo "sycl ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
20
21
COPY actions/cached_checkout /actions/cached_checkout
22
COPY actions/cleanup /actions/cleanup
23
COPY scripts/docker_entrypoint.sh /docker_entrypoint.sh
24
+COPY scripts/install_drivers.sh /opt/install_drivers.sh
25
26
ENTRYPOINT ["/docker_entrypoint.sh"]
0 commit comments