Skip to content

Commit

Permalink
Fix HIP for Ubuntu 24.04 (#92)
Browse files Browse the repository at this point in the history
See #93

Fixes for other images in separate PRs.
  • Loading branch information
havogt authored Jun 17, 2024
1 parent 6189e79 commit c00d140
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hip/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ FROM ${REPOSITORY}:${BASE}
LABEL maintainer="Felix Thaler <thaler@cscs.ch>"

# from https://docs.amd.com/bundle/ROCm-Installation-Guide-v5.4/page/How_to_Install_ROCm.html
RUN wget https://repo.radeon.com/amdgpu-install/22.40/ubuntu/jammy/amdgpu-install_5.4.50401-1_all.deb && \
# TODO(havogt): remove jammy packages once official support for 24.04 is there,
# workaround taken from https://github.com/nktice/AMD-AI/blob/99b51b7ce08f339e81ccede05d65a21d10c6a27b/README.md
RUN add-apt-repository -y -s deb http://security.ubuntu.com/ubuntu jammy main universe && \
add-apt-repository ppa:deadsnakes/ppa -y && \
wget https://repo.radeon.com/amdgpu-install/22.40/ubuntu/jammy/amdgpu-install_5.4.50401-1_all.deb && \
apt-get update -qq && \
DEBIAN_FRONTEND=noninteractive apt-get install -qq -y ./amdgpu-install_5.4.50401-1_all.deb && \
apt-get update -qq && \
Expand Down

0 comments on commit c00d140

Please sign in to comment.