update base image to 4.0.0

This commit is contained in:
Girish Ramakrishnan 2023-01-03 18:45:50 +01:00
parent b5ea4a34aa
commit fdbbf83b52

View file

@ -1,14 +1,15 @@
FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
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 apt update && \
add-apt-repository -y ppa:savoury1/ffmpeg4 && \
apt install -y ffmpeg prosody && \
rm -rf /var/cache/apt /var/lib/apt/lists
# https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/dependencies.md
ARG NODEJS_VERSION=16.13.2
RUN mkdir -p /usr/local/node-${NODEJS_VERSION} && \
curl -L https://nodejs.org/dist/v${NODEJS_VERSION}/node-v${NODEJS_VERSION}-linux-x64.tar.gz | tar zxf - --strip-components 1 -C /usr/local/node-${NODEJS_VERSION}
ENV PATH /usr/local/node-${NODEJS_VERSION}/bin:$PATH
RUN apt update && apt install -y prosody && rm -rf /var/cache/apt /var/lib/apt/lists
ARG VERSION=5.0.0