Skip to content

Commit e170029

Browse files
authored
Merge pull request #43 from e0ne/install-kmod
Install kmod package in images
2 parents cc1e555 + e08adce commit e170029

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN apk add --update --virtual build-dependencies build-base linux-headers git &
1212
make build
1313

1414
FROM ${BASE_IMAGE}
15-
RUN apk add hwdata-pci
15+
RUN apk add kmod hwdata-pci
1616
COPY --from=builder /usr/src/k8s-rdma-shared-dp/build/k8s-rdma-shared-dp /bin/
1717

1818
LABEL io.k8s.display-name="RDMA Shared Device Plugin"

Dockerfile.ubi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN apk add --update --virtual build-dependencies build-base linux-headers git &
1313
make build
1414

1515
FROM ${BASE_IMAGE}
16-
RUN microdnf install hwdata
16+
RUN microdnf install kmod hwdata
1717
COPY --from=builder /usr/src/k8s-rdma-shared-dp/build/k8s-rdma-shared-dp /bin/
1818

1919
LABEL io.k8s.display-name="RDMA Shared Device Plugin"

0 commit comments

Comments
 (0)