File tree Expand file tree Collapse file tree 3 files changed +37
-3
lines changed Expand file tree Collapse file tree 3 files changed +37
-3
lines changed Original file line number Diff line number Diff line change 3939 file : ubuntu2204_base
4040 tag : latest
4141 build_args : " "
42+ - name : Base Ubuntu 24.04 Docker image
43+ file : ubuntu2404_base
44+ tag : latest
45+ build_args : " "
4246 - name : Build Ubuntu Docker image
4347 file : ubuntu2204_build
4448 tag : latest
Original file line number Diff line number Diff line change 1+ FROM ubuntu:24.04
2+
3+ ENV DEBIAN_FRONTEND=noninteractive
4+
5+ USER root
6+
7+ # Install SYCL prerequisites
8+ COPY scripts/install_build_tools.sh /install.sh
9+ RUN /install.sh
10+
11+ # By default Ubuntu sets an arbitrary UID value, that is different from host
12+ # system. When CI passes default UID value of 1001, some of LLVM tools fail to
13+ # discover user home directory and fail a few LIT tests. Fixes UID and GID to
14+ # 1001, that is used as default by GitHub Actions.
15+ RUN groupadd -g 1001 sycl && useradd sycl -u 1001 -g 1001 -m -s /bin/bash
16+ # Add sycl user to video/irc groups so that it can access GPU
17+ RUN usermod -aG video sycl
18+ 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+
24+ # Allow sycl user to run as sudo
25+ RUN echo "sycl ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
26+
27+ COPY actions/cached_checkout /actions/cached_checkout
28+ COPY actions/cleanup /actions/cleanup
29+ COPY scripts/docker_entrypoint.sh /docker_entrypoint.sh
30+ COPY scripts/install_drivers.sh /opt/install_drivers.sh
31+
32+ ENTRYPOINT ["/docker_entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ apt update && apt install -yqq \
77 ccache \
88 git \
99 python3 \
10- python3-distutils \
10+ python3-psutil \
1111 python-is-python3 \
1212 python3-pip \
1313 zstd \
@@ -26,5 +26,3 @@ apt update && apt install -yqq \
2626 libhwloc-dev \
2727 libzstd-dev
2828
29- pip3 install psutil
30-
You can’t perform that action at this time.
0 commit comments