-
Notifications
You must be signed in to change notification settings - Fork 8
Adds Rocky Linux with DOCA OFED example #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
07f089b
to
9b16c29
Compare
libnl3-devel libtool numactl-devel systemd-devel \ | ||
kernel-rpm-macros glibc-devel pciutils gcc valgrind-devel \ | ||
iptables-devel bison libdb-devel elfutils-devel \ | ||
tcsh binutils-devel flex gcc-gfortran python3-Cython \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is gcc-gfortran
really required?
dnf makecache && \ | ||
dnf install -y doca-ofed-userspace && \ | ||
dnf install -y --disablerepo=doca doca-kernel-* && \ | ||
dnf clean all No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing new line
DIB_RELEASE: "jammy" | ||
DIB_CLOUD_INIT_DATASOURCES: "ConfigDrive" | ||
|
||
# Rocky Linux 9 with Doca Ofed enabled. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DOCA OFED
DIB_CONTAINERFILE_RUNTIME: docker | ||
YUM: dnf | ||
DIB_CLOUD_INIT_DATASOURCES: "OpenStack, ConfigDrive" | ||
DIB_RELEASE: "9.6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think various tests in DIB expect DIB_RELEASE
to be just the major version?
RUN systemd-machine-id-setup | ||
|
||
# Install base build dependencies required by DOCA OFED | ||
RUN dnf config-manager --set-enabled appstream crb && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move these into a DIB element? Leaving all packages in the image is a security anti-pattern - at least let's remove them as a final step?
No description provided.