Skip to content

Commit

Permalink
use the nvidia-driver:XXX-dkms module stream to install FM and NSCQ pkgs
Browse files Browse the repository at this point in the history
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
  • Loading branch information
tariq1890 committed Oct 31, 2024
1 parent b44c5f8 commit 3e34c94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rhel8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$TARGETARCH" != "arm64" ]; then \
fmPackage=nvidia-fabricmanager-${DRIVER_BRANCH}-${DRIVER_VERSION}-1; \
fi; \
nscqPackage=libnvidia-nscq-${DRIVER_BRANCH}-${DRIVER_VERSION}-1; \
dnf module enable -y nvidia-driver:${DRIVER_BRANCH} && \
dnf module enable -y nvidia-driver:${DRIVER_BRANCH}-dkms && \
dnf install -y ${fmPackage} ${nscqPackage}; fi

COPY nvidia-driver /usr/local/bin
Expand Down
2 changes: 1 addition & 1 deletion rhel9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ RUN if [ "$DRIVER_TYPE" != "vgpu" ]; then \
RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$TARGETARCH" != "arm64" ]; then \
versionArray=(${DRIVER_VERSION//./ }); \
DRIVER_BRANCH=${versionArray[0]}; \
dnf module enable -y nvidia-driver:${DRIVER_BRANCH} && \
dnf module enable -y nvidia-driver:${DRIVER_BRANCH}-dkms && \
dnf install -y nvidia-fabric-manager-${DRIVER_VERSION}-1 libnvidia-nscq-${DRIVER_BRANCH}-${DRIVER_VERSION}-1; fi

COPY nvidia-driver /usr/local/bin
Expand Down

0 comments on commit 3e34c94

Please sign in to comment.