forked from cloudron-apps/peertube-app
update base image to 4.0.0
This commit is contained in:
parent
b5ea4a34aa
commit
fdbbf83b52
1 changed files with 8 additions and 7 deletions
15
Dockerfile
15
Dockerfile
|
@ -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
|
RUN mkdir -p /app/code/server /app/pkg
|
||||||
WORKDIR /app/code/server
|
WORKDIR /app/code/server
|
||||||
|
|
||||||
# we require ffmpeg 4.4.1 - https://github.com/Chocobozzz/PeerTube/releases/tag/v4.0.0
|
# https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/dependencies.md
|
||||||
# https://lindevs.com/install-ffmpeg-on-ubuntu/
|
ARG NODEJS_VERSION=16.13.2
|
||||||
RUN apt update && \
|
RUN mkdir -p /usr/local/node-${NODEJS_VERSION} && \
|
||||||
add-apt-repository -y ppa:savoury1/ffmpeg4 && \
|
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}
|
||||||
apt install -y ffmpeg prosody && \
|
ENV PATH /usr/local/node-${NODEJS_VERSION}/bin:$PATH
|
||||||
rm -rf /var/cache/apt /var/lib/apt/lists
|
|
||||||
|
RUN apt update && apt install -y prosody && rm -rf /var/cache/apt /var/lib/apt/lists
|
||||||
|
|
||||||
ARG VERSION=5.0.0
|
ARG VERSION=5.0.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue