File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "550" ]; then \
8484RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "570" ]; then \
8585 dnf install -y infiniband-diags nvlsm; fi
8686
87+ # libnvsdm packages are not available for arm64
88+ RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "570" ] && [ "$TARGETARCH" != "arm64" ]; then \
89+ dnf install -y libnvsdm-${DRIVER_BRANCH}-${DRIVER_VERSION}-1; fi
90+
8791COPY nvidia-driver /usr/local/bin
8892COPY ocp_dtk_entrypoint /usr/local/bin
8993COPY common.sh /usr/local/bin
Original file line number Diff line number Diff line change @@ -78,6 +78,10 @@ RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "550" ]; then \
7878RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "570" ]; then \
7979 dnf install -y infiniband-diags nvlsm; fi
8080
81+ # libnvsdm packages are not available for arm64
82+ RUN if [ "$DRIVER_TYPE" != "vgpu" ] && [ "$DRIVER_BRANCH" -ge "570" ] && [ "$TARGETARCH" != "arm64" ]; then \
83+ dnf install -y libnvsdm-${DRIVER_BRANCH}-${DRIVER_VERSION}-1; fi
84+
8185COPY nvidia-driver /usr/local/bin
8286COPY ocp_dtk_entrypoint /usr/local/bin
8387COPY common.sh /usr/local/bin
You can’t perform that action at this time.
0 commit comments