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 \