From 73a42b9cb4b7655f1890ea20b821a9ecb41e435d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 2 Dec 2020 10:15:31 -0800 Subject: [PATCH] Update ffmpeg to 4.1 --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b2a694d..991f85e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,12 @@ FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7 RUN mkdir -p /app/code/server /app/pkg WORKDIR /app/code/server -RUN apt-get -y update && apt -y install ffmpeg && rm -rf /var/cache/apt /var/lib/apt/lists +# ffmpeg >= 4.1 is required (https://github.com/Chocobozzz/PeerTube/issues/2469) +RUN apt-get -y update && \ + add-apt-repository ppa:jonathonf/ffmpeg-4 && \ + apt-get update && \ + apt -y install ffmpeg x264 x265 && \ + rm -rf /var/cache/apt /var/lib/apt/lists # install yq RUN curl -sL https://github.com/mikefarah/yq/releases/download/3.2.1/yq_linux_amd64 -o /usr/bin/yq && \