mirror of
https://git.cloudron.io/cloudron/peertube-app.git
synced 2024-11-21 17:11:09 +00:00
Use ffmpeg 4.4.1
This commit is contained in:
parent
10148592ae
commit
40c23012e7
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue