Files
rocm-systems/projects/rocdecode/docker/rocDecode-on-ubuntu20.dockerfile
T
Aryan Salmanpour d426118dd4 Update the dockers for ROCm 6.1.0+ (#164)
[ROCm/rocdecode commit: 28b4b90a3a]
2024-01-10 13:30:55 -05:00

18 строки
787 B
Docker

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