curl is in fact missing in focal, my bad

This commit is contained in:
GlassedSilver
2022-05-01 06:29:54 +02:00
parent 960c545f37
commit 7874f1b71a
2 changed files with 3 additions and 0 deletions

View File

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

View File

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