From 9fe57a8f24a64dd1319ada56e4b55435199c3759 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Fri, 6 Oct 2023 03:26:21 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0a32cef..092fd3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,10 +36,11 @@ RUN cd ~ && git clone --depth 1 'https://code.videolan.org/videolan/x264.git' && && ./configure --disable-cli --enable-strip --enable-pic --enable-shared --disable-static --prefix=/clib \ && make -j$(grep -c ^processor /proc/cpuinfo) && make install \ && cd ~ && rm -rf x264 -RUN cd ~ && git clone --depth 1 'https://git.ffmpeg.org/ffmpeg.git' && cd ffmpeg \ +RUN export PKG_CONFIG_PATH=/clib/lib/pkgconfig \ + && cd ~ && git clone --depth 1 'https://git.ffmpeg.org/ffmpeg.git' && cd ffmpeg \ && ./configure --enable-shared --disable-static --enable-gpl --enable-version3 --enable-libx264 --prefix=/clib \ && make -j$(grep -c ^processor /proc/cpuinfo) && make install \ - && cd ~ && rm -rf ffmpeg + && cd ~ && rm -rf ffmpeg || cat ffbuild/config.log && exit 1 WORKDIR /app COPY . /app RUN export PKG_CONFIG_PATH=/clib/lib/pkgconfig \