Skip to content

Commit

Permalink
Merge pull request #58 from anderbubble/amdgpu
Browse files Browse the repository at this point in the history
AMDGPU example
  • Loading branch information
mslacken authored Oct 28, 2024
2 parents abaa088 + 7e93b2f commit 5e5edc3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/rockylinux-9.4-amdgpu/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM ghcr.io/warewulf/warewulf-rockylinux:9.4

RUN dnf -y install https://repo.radeon.com/amdgpu-install/6.2.2/el/9.4/amdgpu-install-6.2.60202-1.el9.noarch.rpm \
&& dnf clean all \
&& amdgpu-install -y --usecase=dkms \
&& ls /lib/modules | xargs -n1 /usr/lib/dkms/dkms_autoinstaller start \
&& dkms status
15 changes: 15 additions & 0 deletions examples/rockylinux-9.4-amdgpu/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Rocky Linux with the AMD GPU driver

https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/amdgpu-install.html

This container definition demonstrates building a Rocky Linux based container
incorporating the AMDGPU driver for AMD GPU support.

The container may be built with Podman.

```shell

podman build .
```

The host that builds the container does _not_ need to have a GPU installed.

0 comments on commit 5e5edc3

Please sign in to comment.