diff --git a/elements/rocky-container-pulp/8.6-pulp-mofed b/elements/rocky-container-pulp/8.6-pulp-mofed new file mode 100644 index 0000000..a41cec0 --- /dev/null +++ b/elements/rocky-container-pulp/8.6-pulp-mofed @@ -0,0 +1,130 @@ +# syntax=docker/dockerfile:1.4.3 + +# To build this image you need enable docker build kit. This is for the heredoc support. + +FROM docker.io/library/rockylinux:8 + +ARG rocky_version=8.6 + +# /etc/machine-id needs to be populated for /bin/kernel-install to +# correctly copy kernels into /boot. We will clear this out in the +# final image. +RUN systemd-machine-id-setup + +RUN curl -L https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Storage -o /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage\ + && curl -L https://www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox -o /etc/pki/rpm-gpg/RPM-GPG-KEY-Mellanox\ + && curl -L https://download.docker.com/linux/centos/gpg -o /etc/pki/rpm-gpg/RPM-GPG-KEY-docker + +COPY < from cloud-init +# https://askubuntu.com/questions/1400527/unable-to-find-a-system-nic-while-running-cloud-init +COPY <