Skip to content

Commit 48fb7f3

Browse files
committed
Add rocky-container-stackhpc
Provides two containerfiles 9-stackhpc and 9-stackhpc-ofed Uses cloud-init with NM support from c9s and explicitly sets network renderer and activator to network-manager. 9-stackhpc-ofed installs OFED from NVIDIA yum repository
1 parent 293fc07 commit 48fb7f3

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM docker.io/rockylinux/rockylinux:9
2+
3+
RUN dnf install -y findutils util-linux sudo python3 NetworkManager \
4+
https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/cloud-init-23.1.1-12.el9.noarch.rpm
5+
6+
RUN sed -i "s/renderers:.*/renderers: ['network-manager']\n activators: ['network-manager']/" /etc/cloud/cloud.cfg
7+
8+
RUN systemctl unmask console-getty.service dev-hugepages.mount \
9+
getty.target sys-fs-fuse-connections.mount systemd-logind.service \
10+
systemd-remount-fs.service
11+
12+
# /etc/machine-id needs to be populated for /bin/kernel-install to
13+
# correctly copy kernels into /boot. We will clear this out in the
14+
# final image.
15+
RUN systemd-machine-id-setup
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rocky-container

0 commit comments

Comments
 (0)