Skip to content

Instantly share code, notes, and snippets.

@briansp2020
Created November 15, 2023 17:20
Show Gist options
  • Save briansp2020/fd1579b3d7fe4643409593e229fbd26f to your computer and use it in GitHub Desktop.
Save briansp2020/fd1579b3d7fe4643409593e229fbd26f to your computer and use it in GitHub Desktop.
ROCm 5.7.1 Docker file
FROM ubuntu:22.04
RUN apt update && apt install -y curl \
&& curl -O https://repo.radeon.com/amdgpu-install/5.7.1/ubuntu/jammy/amdgpu-install_5.7.50701-1_all.deb \
&& dpkg -i amdgpu-install_5.7.50701-1_all.deb \
&& DEBIAN_FRONTEND=noninteractive amdgpu-install --usecase=rocm --no-dkms --no-32 -y \
&& apt install -y git git-lfs pkg-config patchelf nano wget gpg cmake build-essential \
python3-venv python3-dev python3-wheel python3-setuptools python3-requests python3-packaging \
&& apt clean
CMD bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment