Skip to content

Commit 581c501

Browse files
Merge pull request #251 from Mellanox/main
release fix: install needed deps for MFT in operator rhel-stig
2 parents 4422af7 + 024a9c4 commit 581c501

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile.operator.stig-rhel

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ FROM $RHEL_STIG_BASE_IMAGE
4545
ENV MFT_VERSION=4.33.0-169
4646

4747
# Install MFT (Mellanox Firmware Tools) - amd64/x86_64 only for STIG
48-
RUN dnf makecache && \
49-
dnf install -y curl && \
48+
# Note: curl-minimal is already in UBI base image, sufficient for downloads
49+
# Note: kmod is required by MFT
50+
RUN dnf install -y kmod && \
5051
curl -fsSL https://www.mellanox.com/downloads/MFT/mft-${MFT_VERSION}-x86_64-rpm.tgz | tar -xz --no-same-owner -C /tmp && \
5152
cd /tmp/mft-${MFT_VERSION}-x86_64-rpm && \
5253
./install.sh --without-kernel && \

0 commit comments

Comments
 (0)