File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,10 @@ ARG UBUNTU_VERSION
16
16
17
17
FROM ubuntu:${UBUNTU_VERSION}
18
18
19
- RUN useradd -s /bin/bash user
20
-
21
19
ENV LANG=C.UTF-8
22
20
23
21
ARG DEBIAN_FRONTEND=noninteractive
24
22
25
- HEALTHCHECK NONE
26
- RUN useradd -d /home/ipex -m -s /bin/bash ipex
27
-
28
23
RUN apt-get update && \
29
24
apt-get install -y --no-install-recommends --fix-missing \
30
25
apt-utils \
@@ -116,17 +111,17 @@ RUN python -m pip install numpy
116
111
RUN python -m pip install torch==${TORCH_VERSION} -f ${TORCH_WHL_URL} && \
117
112
python -m pip install intel_extension_for_pytorch==${IPEX_VERSION} -f ${IPEX_WHL_URL} && \
118
113
python -m pip install torchvision==${TORCHVISION_VERSION} -f ${TORCHVISION_WHL_URL}
114
+
119
115
RUN if [ ${ONECCL_BIND_PT_VERSION} != "N/A" ] && [ ${ONECCL_BIND_PT_WHL_URL} != "N/A" ]; then \
120
116
python -m pip install oneccl_bind_pt==${ONECCL_BIND_PT_VERSION} -f ${ONECCL_BIND_PT_WHL_URL}; \
121
117
fi
122
118
123
-
124
119
ENV LD_LIBRARY_PATH=/opt/intel/oneapi/lib:/opt/intel/oneapi/lib/intel64:$LD_LIBRARY_PATH
125
120
126
121
RUN apt update && \
127
122
apt install -y sudo
128
- RUN adduser --disabled-password --gecos "" nonroot
129
- RUN echo 'nonroot ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
123
+ RUN adduser --disabled-password --gecos "" user
124
+ RUN echo 'user ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
130
125
131
126
# Set the non-root user as the default user
132
127
USER user
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ if [[ ${IMAGE_NAME} != "" ]]; then
35
35
--build-arg LEVEL_ZERO_GPU_VER=1.3.26241.33-647~22.04 \
36
36
--build-arg LEVEL_ZERO_VER=1.11.0-647~22.04 \
37
37
--build-arg LEVEL_ZERO_DEV_VER=1.11.0-647~22.04 \
38
- --build-arg DPCPP_VER=2023.2.0-49495 \
38
+ --build-arg DPCPP_VER=2023.2.1-16 \
39
39
--build-arg MKL_VER=2023.2.0-49495 \
40
40
--build-arg TORCH_VERSION=2.0.1a0+cxx11.abi \
41
41
--build-arg IPEX_VERSION=2.0.110+xpu \
You can’t perform that action at this time.
0 commit comments