release fix: install needed deps for MFT in operator rhel-stig#251
Merged
almaslennikov merged 2 commits intonetwork-operator-26.1.xfrom Jan 28, 2026
Merged
release fix: install needed deps for MFT in operator rhel-stig#251almaslennikov merged 2 commits intonetwork-operator-26.1.xfrom
almaslennikov merged 2 commits intonetwork-operator-26.1.xfrom
Conversation
Signed-off-by: Alexander Maslennikov <amaslennikov@nvidia.com>
fix: install needed deps for MFT in operator rhel-stig
Greptile OverviewGreptile SummaryThis PR optimizes the MFT (Mellanox Firmware Tools) installation in the RHEL STIG operator dockerfile by removing redundant package installations and adding the required
The changes align with the existing pattern used in Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Build as Build Stage (golang:1.24)
participant Base as RHEL STIG Base Image
participant DNF as DNF Package Manager
participant MFT as MFT Installer
participant Container as Final Container
Build->>Build: Compile manager binary
Note over Base: Start RHEL STIG runtime stage
Base->>DNF: Install kmod package
Note over DNF: kmod required by MFT
DNF-->>Base: kmod installed
Base->>Base: Download MFT tarball via curl
Note over Base: curl-minimal from base image
Base->>MFT: Extract and run install.sh --without-kernel
MFT->>MFT: Install MFT tools (requires kmod)
MFT-->>Base: MFT installation complete
Base->>Base: Cleanup temporary files
Build->>Container: Copy manager binary
Container->>Container: Run as user 65532:65532
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.