File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,11 +31,16 @@ RUN apt-get update \
3131 curl \
3232 xz-utils \
3333 && rm -rf /var/lib/apt/lists/* \
34- && curl -fsSL --retry 3 --retry-delay 5 "https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linux64-gpl.tar.xz" -o /tmp/ffmpeg.tar.xz \
34+ && curl -fsSL --retry 3 --retry-delay 5 "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz" -o /tmp/ffmpeg.tar.xz \
35+ && curl -fsSL "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz.md5" -o /tmp/ffmpeg.tar.xz.md5 \
36+ && echo "$(awk '{print $1}' /tmp/ffmpeg.tar.xz.md5) /tmp/ffmpeg.tar.xz" | md5sum -c - \
37+ && rm -f /tmp/ffmpeg.tar.xz.md5 \
3538 && tar -xf /tmp/ffmpeg.tar.xz -C /tmp \
3639 && mkdir -p /usr/local/bin \
37- && cp /tmp/ffmpeg-master-latest-linux64-gpl/bin/ffmpeg /usr/local/bin/ffmpeg \
38- && cp /tmp/ffmpeg-master-latest-linux64-gpl/bin/ffprobe /usr/local/bin/ffprobe \
40+ && ffmpeg_path=$(find /tmp -name 'ffmpeg' -type f -executable -not -path '*/lib/*' -print -quit) \
41+ && test -n "$ffmpeg_path" && cp "$ffmpeg_path" /usr/local/bin/ffmpeg \
42+ && ffprobe_path=$(find /tmp -name 'ffprobe' -type f -executable -not -path '*/lib/*' -print -quit) \
43+ && test -n "$ffprobe_path" && cp "$ffprobe_path" /usr/local/bin/ffprobe \
3944 && chmod +x /usr/local/bin/ffmpeg /usr/local/bin/ffprobe \
4045 && rm -rf /tmp/ffmpeg* \
4146 && mkdir -p /usr/local/share/piper-voices \
You can’t perform that action at this time.
0 commit comments