Add renovate Dockerfile line

This commit is contained in:
Johannes Zellner 2024-10-08 12:19:03 +02:00
parent 9d935df33d
commit 7863c6b4a8

View file

@ -9,10 +9,11 @@ ARG NODE_VERSION=20.15.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} 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 ENV PATH /usr/local/node-${NODE_VERSION}/bin:$PATH
ARG VERSION=6.3.1 # renovate: datasource=github-releases depName=Chocobozzz/PeerTube versioning=semver extractVersion=^v(?<version>.+)$
ARG PEERTUBE_VERSION=6.3.1
# 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
RUN curl -sL https://github.com/Chocobozzz/PeerTube/releases/download/v${VERSION}/peertube-v${VERSION}.tar.xz | tar --strip-components 1 -Jxvf - && \ RUN curl -sL https://github.com/Chocobozzz/PeerTube/releases/download/v${PEERTUBE_VERSION}/peertube-v${PEERTUBE_VERSION}.tar.xz | tar --strip-components 1 -Jxvf - && \
yarn install --production --pure-lockfile yarn install --production --pure-lockfile
RUN npm install -g @peertube/peertube-cli RUN npm install -g @peertube/peertube-cli