Update the dockers for ROCm 6.1.0+ (#164)
[ROCm/rocdecode commit: 28b4b90a3a]
This commit is contained in:
committed by
GitHub
vanhempi
f90684cc40
commit
d426118dd4
@@ -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
|
||||
@@ -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
|
||||
@@ -1,26 +0,0 @@
|
||||
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/5.7/ubuntu/focal/amdgpu-install_5.7.50700-1_all.deb && \
|
||||
sudo apt-get install ./amdgpu-install_5.7.50700-1_all.deb && \
|
||||
sudo amdgpu-install -y --usecase=graphics,rocm --no-32
|
||||
|
||||
# install FFMPEG, and other dependencies
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install autoconf automake build-essential cmake git-core libass-dev libfreetype6-dev libsdl2-dev libtool libva-dev \
|
||||
libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config texinfo wget zlib1g-dev \
|
||||
nasm yasm libx264-dev libx265-dev libnuma-dev libfdk-aac-dev unzip && \
|
||||
wget https://github.com/FFmpeg/FFmpeg/archive/refs/tags/n4.4.2.zip && unzip n4.4.2.zip && cd FFmpeg-n4.4.2/ && sudo ldconfig && \
|
||||
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/" && \
|
||||
./configure --enable-shared --disable-static && \
|
||||
make -j8 && sudo make install && cd
|
||||
|
||||
ENV LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib64/:/usr/local/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
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/5.7/ubuntu/jammy/amdgpu-install_5.7.50700-1_all.deb && \
|
||||
sudo apt-get install ./amdgpu-install_5.7.50700-1_all.deb && \
|
||||
sudo amdgpu-install -y --usecase=graphics,rocm --no-32
|
||||
|
||||
# install FFMPEG, and other dependencies
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install autoconf automake build-essential cmake git-core libass-dev libfreetype6-dev libsdl2-dev libtool libva-dev \
|
||||
libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config texinfo wget zlib1g-dev \
|
||||
nasm yasm libx264-dev libx265-dev libnuma-dev libfdk-aac-dev unzip && \
|
||||
wget https://github.com/FFmpeg/FFmpeg/archive/refs/tags/n4.4.2.zip && unzip n4.4.2.zip && cd FFmpeg-n4.4.2/ && sudo ldconfig && \
|
||||
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/" && \
|
||||
./configure --enable-shared --disable-static && \
|
||||
make -j8 && sudo make install && cd
|
||||
|
||||
ENV LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib64/:/usr/local/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
|
||||
|
||||
WORKDIR /workspace
|
||||
Viittaa uudesa ongelmassa
Block a user