mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-06-06 05:49:01 +08:00
Update Dockerfile
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user