Dockerfile uses Ubuntu 20.04, fix obtain ffmpeg

This commit is contained in:
GlassedSilver
2022-05-01 05:14:31 +02:00
parent 5e3eb68b03
commit 960c545f37
2 changed files with 27 additions and 21 deletions

View File

@@ -23,7 +23,12 @@ case $(uname -m) in
esac
echo "Architecture: $ARCH"
wget "https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-${ARCH}-static.tar.xz" -O ffmpeg.txz
curl --connect-timeout 5 \
--max-time 10 \
--retry 5 \
--retry-delay 0 \
--retry-max-time 40 \
"https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-${ARCH}-static.tar.xz" -o ffmpeg.txz
mkdir /tmp/ffmpeg
tar xf ffmpeg.txz -C /tmp/ffmpeg
cp /tmp/ffmpeg/*/ffmpeg /usr/local/bin/ffmpeg