Update the dockers for ROCm 6.1.0+ (#164)

[ROCm/rocdecode commit: 28b4b90a3a]
此提交包含在:
Aryan Salmanpour
2024-01-10 13:30:55 -05:00
提交者 GitHub
父節點 f90684cc40
當前提交 d426118dd4
共有 4 個檔案被更改,包括 36 行新增51 行删除
+18
查看文件
@@ -0,0 +1,18 @@
FROM ubuntu:20.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
# 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/focal/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