Skip to content

Commit 325d79c

Browse files
Tyler Titsworthsramakintel
Tyler Titsworth
andauthored
Remove keyless sources from pytorch xpu (#293)
Signed-off-by: Tyler Titsworth <tyler.titsworth@intel.com> Co-authored-by: Srikanth Ramakrishna <srikanth.ramakrishna@intel.com>
1 parent 45d23db commit 325d79c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pytorch/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ RUN apt-get update && \
194194
WORKDIR /
195195
COPY xpu-requirements.txt .
196196

197-
RUN python -m pip install --no-cache-dir -r xpu-requirements.txt
197+
RUN python -m pip install --no-cache-dir -r xpu-requirements.txt && \
198+
rm -rf xpu-requirements.txt /etc/apt/sources.list.d/intel-gpu-jammy.list /etc/apt/sources.list.d/oneAPI.list
198199

199200
ENV LD_LIBRARY_PATH=/opt/intel/oneapi/redist/lib:$LD_LIBRARY_PATH
200201

0 commit comments

Comments
 (0)