Skip to content

Commit 257aae8

Browse files
committed
chore: Remove dkms package
We intall MFT package with `--without-kernel` flag so dkms package isn't needed. Signed-off-by: Ivan Kolodiazhnyi <ikolodiazhny@nvidia.com>
1 parent 2bfe556 commit 257aae8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile.sriov-network-config-daemon-stig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ COPY . .
44
RUN make _build-sriov-network-config-daemon BIN_PATH=build/_output/cmd
55

66
FROM nvcr.io/nvstaging/mellanox/ubuntu-pro-stig:24.04
7-
# We have to ensure that pciutils and dkms are installed. These packages are needed for mstfwreset to succeed.
7+
# We have to ensure that pciutils is installed. These packages are needed for mstfwreset to succeed.
88
# xref pkg/vendors/mellanox/mellanox.go#L150
9-
RUN apt update && apt -y install hwdata pciutils curl dkms
9+
RUN apt update && apt -y install hwdata pciutils curl
1010

1111
ARG TARGETARCH
1212
ENV MFT_VERSION=4.33.0-169

Dockerfile.sriov-network-config-daemon.nvidia

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ COPY . .
2626
RUN make _build-sriov-network-config-daemon BIN_PATH=build/_output/cmd
2727

2828
FROM ${BASE_IMAGE_DOCA_BASE_RT_HOST:-nvcr.io/nvidia/doca/doca:3.1.0-base-rt-host}
29-
# We have to ensure that pciutils and dkms are installed. These packages are needed for mstfwreset to succeed.
29+
# We have to ensure that pciutils is installed. These packages are needed for mstfwreset to succeed.
3030
# xref pkg/vendors/mellanox/mellanox.go#L150
31-
RUN apt-get update && apt-get install -y hwdata pciutils curl dkms && apt-get clean && rm -rf /var/lib/apt/lists/*
31+
RUN apt-get update && apt-get install -y hwdata pciutils curl && apt-get clean && rm -rf /var/lib/apt/lists/*
3232

3333
ARG TARGETARCH
3434
ENV MFT_VERSION=4.33.0-169

0 commit comments

Comments
 (0)