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