Update the dockers for ROCm 6.1.0+ (#164)

[ROCm/rocdecode commit: 28b4b90a3a]
This commit is contained in:
Aryan Salmanpour
2024-01-10 13:30:55 -05:00
committed by GitHub
parent f90684cc40
commit d426118dd4
4 changed files with 36 additions and 51 deletions
@@ -0,0 +1,18 @@
FROM ubuntu:22.04
# install base dependencies
RUN apt-get update -y
#RUN apt-get dist-upgrade -y
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install gcc g++ cmake pkg-config git apt-utils sudo vainfo dialog libstdc++-12-dev
# install ROCm
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install initramfs-tools libnuma-dev wget keyboard-configuration && \
wget https://repo.radeon.com/amdgpu-install/6.1/ubuntu/jammy/amdgpu-install_6.1.60100-1_all.deb && \
sudo apt-get install ./amdgpu-install_6.1.60100-1_all.deb && \
sudo amdgpu-install -y --usecase=multimediasdk,rocm --no-32
WORKDIR /workspace
# clone rocDecode and build
RUN git clone https://github.com/ROCm/rocDecode.git && \
cd rocDecode && mkdir build && cd build && cmake .. && make -j8 && sudo make install