Files
warewulf/containers/Docker/openhpc-2/Containerfile
Jonathon Anderson 91f604c0f6 Refactor docker containerrs and add centos-7
These docker containers populate docker.io/warewulf. A new centos-7 container
serves as an example for others to build from when required. The new Makefile
builds .tar images with Podman which can be imported into Warewulf directly
without going through a registry.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-22 15:57:10 -06:00

8 lines
362 B
Docker

FROM docker.io/warewulf/rockylinux:8
RUN dnf -y install http://repos.openhpc.community/OpenHPC/2/CentOS_8/x86_64/ohpc-release-2-1.el8.x86_64.rpm \
&& sed -i -e 's/^enabled=0/enabled=1/g' /etc/yum.repos.d/*-PowerTools.repo \
&& dnf -y install ohpc-base-compute ohpc-slurm-client chrony lmod-ohpc \
&& dnf -y clean all \
&& systemctl enable munge