Skip to content

Commit 1ea04f5

Browse files
committed
An attempt to fix docker images build
1 parent 10cc0e3 commit 1ea04f5

File tree

3 files changed

+0
-27
lines changed

3 files changed

+0
-27
lines changed

devops/containers/ubuntu2204_intel_drivers.Dockerfile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,6 @@ RUN --mount=type=secret,id=github_token \
2525

2626
COPY scripts/drivers_entrypoint.sh /drivers_entrypoint.sh
2727

28-
# By default Ubuntu sets an arbitrary UID value, that is different from host
29-
# system. When CI passes default UID value of 1001, some of LLVM tools fail to
30-
# discover user home directory and fail a few LIT tests. Fixes UID and GID to
31-
# 1001, that is used as default by GitHub Actions.
32-
RUN groupadd -g 1001 sycl && useradd sycl -u 1001 -g 1001 -m -s /bin/bash
33-
# Add sycl user to video/irc groups so that it can access GPU
34-
RUN usermod -aG video sycl
35-
RUN usermod -aG irc sycl
36-
3728
USER sycl
3829

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

devops/containers/ubuntu2404_intel_drivers.Dockerfile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,6 @@ RUN --mount=type=secret,id=github_token \
2525

2626
COPY scripts/drivers_entrypoint.sh /drivers_entrypoint.sh
2727

28-
# By default Ubuntu sets an arbitrary UID value, that is different from host
29-
# system. When CI passes default UID value of 1001, some of LLVM tools fail to
30-
# discover user home directory and fail a few LIT tests. Fixes UID and GID to
31-
# 1001, that is used as default by GitHub Actions.
32-
RUN groupadd -g 1001 sycl && useradd sycl -u 1001 -g 1001 -m -s /bin/bash
33-
# Add sycl user to video/irc groups so that it can access GPU
34-
RUN usermod -aG video sycl
35-
RUN usermod -aG irc sycl
36-
3728
USER sycl
3829

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

devops/containers/ubuntu2404_intel_drivers_igc_dev.Dockerfile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@ RUN --mount=type=secret,id=github_token \
2020

2121
COPY scripts/drivers_entrypoint.sh /drivers_entrypoint.sh
2222

23-
# By default Ubuntu sets an arbitrary UID value, that is different from host
24-
# system. When CI passes default UID value of 1001, some of LLVM tools fail to
25-
# discover user home directory and fail a few LIT tests. Fixes UID and GID to
26-
# 1001, that is used as default by GitHub Actions.
27-
RUN groupadd -g 1001 sycl && useradd sycl -u 1001 -g 1001 -m -s /bin/bash
28-
# Add sycl user to video/irc groups so that it can access GPU
29-
RUN usermod -aG video sycl
30-
RUN usermod -aG irc sycl
31-
3223
USER sycl
3324

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

0 commit comments

Comments
 (0)