mirror of
https://git.cloudron.io/cloudron/peertube-app.git
synced 2025-02-08 07:12:25 +00:00
Fetch youtube-dl from github releases
This commit is contained in:
parent
c4f5594a6b
commit
e4be0426bf
1 changed files with 4 additions and 1 deletions
|
@ -23,7 +23,10 @@ RUN ln -sf /app/data/production.yaml /app/code/server/config/production.yaml &&
|
||||||
ln -sf /app/data/local-production.json /app/code/server/config/local-production.json
|
ln -sf /app/data/local-production.json /app/code/server/config/local-production.json
|
||||||
|
|
||||||
# youtube-dl
|
# youtube-dl
|
||||||
RUN curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && chmod +x /usr/local/bin/youtube-dl
|
# renovate: datasource=github-releases depName=ytdl-org/youtube-dl versioning=loose extractVersion=^(?<version>.+)$
|
||||||
|
ARG YOUTUBE_DL_VERSION=2021.12.17
|
||||||
|
|
||||||
|
RUN curl -L https://github.com/ytdl-org/youtube-dl/releases/download/${YOUTUBE_DL_VERSION}/youtube-dl -o /usr/local/bin/youtube-dl && chmod +x /usr/local/bin/youtube-dl
|
||||||
|
|
||||||
# required when installing plugins/themes that use node-gyp
|
# required when installing plugins/themes that use node-gyp
|
||||||
RUN rm -rf /home/cloudron/.cache && ln -s /run/peertube/cache /home/cloudron/.cache && \
|
RUN rm -rf /home/cloudron/.cache && ln -s /run/peertube/cache /home/cloudron/.cache && \
|
||||||
|
|
Loading…
Reference in a new issue