Skip to content

Commit

Permalink
Merge pull request #43 from e0ne/install-kmod
Browse files Browse the repository at this point in the history
Install kmod package in images
  • Loading branch information
moshe010 authored Oct 7, 2021
2 parents cc1e555 + e08adce commit e170029
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apk add --update --virtual build-dependencies build-base linux-headers git &
make build

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

LABEL io.k8s.display-name="RDMA Shared Device Plugin"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apk add --update --virtual build-dependencies build-base linux-headers git &
make build

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

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

0 comments on commit e170029

Please sign in to comment.