Skip to content

Commit 48ce9c4

Browse files
committed
install zimg from source
1 parent ae8ed9c commit 48ce9c4

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

nvidia-php8.1-fpm-ffmpeg-bullseye/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@ RUN git clone https://aomedia.googlesource.com/aom && cmake ./aom && \
6868
RUN git clone https://github.com/FFmpeg/nv-codec-headers.git -b old/sdk/9.0 && cd nv-codec-headers && \
6969
make && make install
7070
# install libzimg
71-
RUN add-apt-repository "deb http://www.deb-multimedia.org bullseye main" && \
72-
apt-get update -oAcquire::AllowInsecureRepositories=true && apt-get install -y deb-multimedia-keyring --allow-unauthenticated && \
73-
apt-get update && apt-get install -y libzimg-dev && echo "/usr/lib/x86_64-linux-gnu" >> /etc/ld.so.conf && ldconfig
71+
ARG zimg_version=release-3.0.4
72+
RUN git clone --branch release-3.0.4 --depth 1 https://github.com/sekrit-twc/zimg && cd zimg &&\
73+
./autogen.sh &&\
74+
./configure --enable-static --prefix=/usr/local --disable-shared &&\
75+
make -j $(nproc) &&\
76+
make install
7477
RUN git clone https://github.com/FFmpeg/FFmpeg -b release/5.1 && \
7578
cd /src/FFmpeg && \
7679
./configure \

0 commit comments

Comments
 (0)