mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-15 20:51:29 +03:00
curl is in fact missing in focal, my bad
This commit is contained in:
@@ -8,6 +8,7 @@ FROM ubuntu:20.04 as frontend
|
|||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update && apt-get -y install \
|
RUN apt-get update && apt-get -y install \
|
||||||
wget \
|
wget \
|
||||||
|
curl \
|
||||||
gnupg && \
|
gnupg && \
|
||||||
curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
|
curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
|
||||||
apt-get -y install \
|
apt-get -y install \
|
||||||
|
|||||||
@@ -23,12 +23,14 @@ case $(uname -m) in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
echo "Architecture: $ARCH"
|
echo "Architecture: $ARCH"
|
||||||
|
apt-get -y install curl
|
||||||
curl --connect-timeout 5 \
|
curl --connect-timeout 5 \
|
||||||
--max-time 10 \
|
--max-time 10 \
|
||||||
--retry 5 \
|
--retry 5 \
|
||||||
--retry-delay 0 \
|
--retry-delay 0 \
|
||||||
--retry-max-time 40 \
|
--retry-max-time 40 \
|
||||||
"https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-${ARCH}-static.tar.xz" -o ffmpeg.txz
|
"https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-${ARCH}-static.tar.xz" -o ffmpeg.txz
|
||||||
|
apt-get remove curl
|
||||||
mkdir /tmp/ffmpeg
|
mkdir /tmp/ffmpeg
|
||||||
tar xf ffmpeg.txz -C /tmp/ffmpeg
|
tar xf ffmpeg.txz -C /tmp/ffmpeg
|
||||||
cp /tmp/ffmpeg/*/ffmpeg /usr/local/bin/ffmpeg
|
cp /tmp/ffmpeg/*/ffmpeg /usr/local/bin/ffmpeg
|
||||||
|
|||||||
Reference in New Issue
Block a user