Skip to content

Commit df65c0f

Browse files
committed
[SYCL][Devops] Fix containers build
We already have `sycl` user created by a base image, no need to repeat that. This is a follow-up to intel#16290 to address an issue which was not caught by pre-commit.
1 parent 8a41b47 commit df65c0f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

devops/containers/ubuntu2204_preinstalled.Dockerfile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@ ADD sycl_linux.tar.gz /opt/sycl/
1010
ENV PATH /opt/sycl/bin:$PATH
1111
ENV LD_LIBRARY_PATH /opt/sycl/lib:$LD_LIBRARY_PATH
1212

13-
# By default Ubuntu sets an arbitrary UID value, that is different from host
14-
# system. When CI passes default UID value of 1001, some of LLVM tools fail to
15-
# discover user home directory and fail a few LIT tests. Fixes UID and GID to
16-
# 1001, that is used as default by GitHub Actions.
17-
RUN groupadd -g 1001 sycl && useradd sycl -u 1001 -g 1001 -m -s /bin/bash
18-
# Add sycl user to video/irc groups so that it can access GPU
19-
RUN usermod -aG video sycl
20-
RUN usermod -aG irc sycl
21-
2213
USER sycl
2314

2415
ENTRYPOINT ["/bin/bash", "/drivers_entrypoint.sh"]

0 commit comments

Comments
 (0)