Use new base image 3.1.0

This commit is contained in:
Johannes Zellner 2021-12-15 16:52:49 +01:00
parent 40c23012e7
commit b10ab51b1d

View file

@ -1,4 +1,4 @@
FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92 FROM cloudron/base:3.1.0@sha256:eb2ab9c7d361acda2f3ef2d8388154bc48f1651b5013fe6de4beea003018e427
RUN mkdir -p /app/code/server /app/pkg RUN mkdir -p /app/code/server /app/pkg
WORKDIR /app/code/server WORKDIR /app/code/server
@ -8,12 +8,6 @@ WORKDIR /app/code/server
RUN add-apt-repository -y ppa:savoury1/ffmpeg4 && \ RUN add-apt-repository -y ppa:savoury1/ffmpeg4 && \
apt install -y ffmpeg 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
ARG VERSION=4.0.0 ARG VERSION=4.0.0
# install peertube. the chown is required for some reason for ffmpeg. it fails with EROFS without it when transcoding # install peertube. the chown is required for some reason for ffmpeg. it fails with EROFS without it when transcoding