Update Dockerfile

This commit is contained in:
2023-10-06 03:26:21 +00:00
committed by GitHub
parent 7e8f17cd82
commit 9fe57a8f24

View File

@@ -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 \