From 40c23012e7faf271de7f84a8d3e1d560e8fa6dd6 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Tue, 14 Dec 2021 11:26:06 +0100 Subject: [PATCH] Use ffmpeg 4.4.1 --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f782510..0457387 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,14 +3,17 @@ FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3f RUN mkdir -p /app/code/server /app/pkg WORKDIR /app/code/server +# we require ffmpeg 4.4.1 - https://github.com/Chocobozzz/PeerTube/releases/tag/v4.0.0 +# https://lindevs.com/install-ffmpeg-on-ubuntu/ +RUN add-apt-repository -y ppa:savoury1/ffmpeg4 && \ + apt install -y ffmpeg + ARG NODE_VERSION=16.13.1 RUN mkdir -p /usr/local/node-${NODE_VERSION} && \ curl -L https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz | tar zxf - --strip-components 1 -C /usr/local/node-${NODE_VERSION} ENV PATH /usr/local/node-${NODE_VERSION}/bin:$PATH -# note: node 10 does not work. ffmpeg 4.4 does not work - https://github.com/Chocobozzz/PeerTube/releases/tag/v3.2.0 (https://github.com/Chocobozzz/PeerTube/issues/3990) - ARG VERSION=4.0.0 # install peertube. the chown is required for some reason for ffmpeg. it fails with EROFS without it when transcoding