Skip to content

Commit f05ca70

Browse files
[CI][Containers] Add sycl user to irc group (#10361)
That is needed so that we can use that user for our E2E testing on AMD GPU same as we do on other platforms.
1 parent 45aace3 commit f05ca70

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

devops/containers/ubuntu2204_base.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ RUN /install.sh
1313
# discover user home directory and fail a few LIT tests. Fixes UID and GID to
1414
# 1001, that is used as default by GitHub Actions.
1515
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
16+
# Add sycl user to video/irc groups so that it can access GPU
1717
RUN usermod -aG video sycl
18+
RUN usermod -aG irc sycl
1819
# Allow sycl user to run as sudo
1920
RUN echo "sycl ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
2021

devops/containers/ubuntu2204_build.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ RUN apt install -yqq libnuma-dev wget gnupg2 && \
2727
# discover user home directory and fail a few LIT tests. Fixes UID and GID to
2828
# 1001, that is used as default by GitHub Actions.
2929
RUN groupadd -g 1001 sycl && useradd sycl -u 1001 -g 1001 -m -s /bin/bash
30-
# Add sycl user to video group so that it can access GPU
30+
# Add sycl user to video/irc groups so that it can access GPU
3131
RUN usermod -aG video sycl
32+
RUN usermod -aG irc sycl
3233

3334
COPY actions/cached_checkout /actions/cached_checkout
3435
COPY actions/cleanup /actions/cleanup

0 commit comments

Comments
 (0)