Skip to content

Commit eb15e31

Browse files
authored
Merge pull request #6 from rollandf/lsmod
fix: add lsmod to container image
2 parents d9005fb + c8da52b commit eb15e31

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

images/Dockerfile.nvidia

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ ARG TARGETVARIANT
3737
COPY --from=builder /usr/src/sriov-network-device-plugin/build/sriovdp /usr/bin/
3838
WORKDIR /
3939

40+
RUN apt-get update && apt-get install -y --no-install-recommends kmod=29-1ubuntu1 && \
41+
rm -rf /var/lib/apt/lists/*
42+
4043
COPY --from=builder /usr/src/sriov-network-device-plugin ./src
4144

4245
LABEL io.k8s.display-name="SRIOV Network Device Plugin"

0 commit comments

Comments
 (0)