Skip to content

Commit 66c0ead

Browse files
committed
ubuntu24.04 ci pipeline fix
Signed-off-by: shiva kumar <[email protected]>
1 parent 007a5ef commit 66c0ead

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

ubuntu24.04/precompiled/Dockerfile

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN apt-key del 7fa2af80 && \
1919
apt-key adv --fetch-keys "https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/3bf863cc.pub"
2020

2121
RUN dpkg --add-architecture i386 && \
22-
apt-get purge -y && apt-get update && apt-get install -y --no-install-recommends \
22+
apt-get update && apt-get install -y --no-install-recommends \
2323
apt-utils \
2424
build-essential \
2525
ca-certificates \
@@ -66,7 +66,7 @@ RUN apt-get update -y; \
6666
apt search nvidia; \
6767
apt list *nvidia*; \
6868
echo "SHIVA222"; \
69-
apt-get-- install -y --no-install-recommends nvidia-driver-${DRIVER_BRANCH}-server \
69+
apt-get install -y --no-install-recommends nvidia-driver-${DRIVER_BRANCH}-server \
7070
${FABRIC_PACKAGE} \
7171
${LIBNSCQ_PACKAGE} && \
7272
apt-get purge -y \
@@ -75,17 +75,11 @@ RUN apt-get update -y; \
7575
nvidia-kernel-source-${DRIVER_BRANCH}-server \
7676
xserver-xorg-video-nvidia-${DRIVER_BRANCH}-server && \
7777
rm -rf /var/lib/apt/lists/*;
78-
7978

8079
# update pkg cache and download pkgs for driver module installation during runtime.
8180
# this is done to avoid shipping .ko files.
8281
# avoid cleaning the cache after this to retain these packages during runtime.
83-
# RUN apt search linux-objects-nvidia* ; \
84-
# apt search linux-signatures-nvidia*;
85-
86-
# RUN apt update && apt-get update && apt search linux-modules*
87-
88-
RUN apt-get purge -y && apt update && apt-get update && apt-get install --download-only --no-install-recommends -y linux-objects-nvidia-${DRIVER_BRANCH}-server-${KERNEL_VERSION} \
82+
RUN apt-get update && apt-get install --download-only --no-install-recommends -y linux-objects-nvidia-${DRIVER_BRANCH}-server-${KERNEL_VERSION} \
8983
linux-signatures-nvidia-${KERNEL_VERSION} \
9084
linux-modules-nvidia-${DRIVER_BRANCH}-server-${KERNEL_VERSION} \
9185
# add support for nvidia open source driver packages during runtime
@@ -98,5 +92,4 @@ WORKDIR /drivers
9892
# Remove cuda repository to avoid GPG errors
9993
RUN rm -f /etc/apt/sources.list.d/cuda*
10094

101-
RUN apt-get purge -y
10295
ENTRYPOINT ["nvidia-driver", "init"]

0 commit comments

Comments
 (0)