File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ RUN echo "Building for ${TARGETPLATFORM:?}"
1313RUN apt-get update -qq && \
1414 apt-get install -y inotify-tools curl git openssh-client jq \
1515 python3 python3-setuptools python3-wheel python3-dev pipx \
16- python3-mutagen locales procps build-essential graphviz zsh
16+ python3-mutagen locales procps build-essential graphviz zsh unzip
1717
1818# Install ffmpeg
1919RUN export FFMPEG_DOWNLOAD=$(case ${TARGETPLATFORM:-linux/amd64} in \
@@ -32,8 +32,10 @@ RUN curl -sL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh && \
3232 # Install baseline Elixir packages
3333 mix local.hex --force && \
3434 mix local.rebar --force && \
35+ # Install Deno - required for YouTube downloads (See yt-dlp#14404)
36+ curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh -s -- -y --no-modify-path && \
3537 # Download and update YT-DLP
36- curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && \
38+ curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -o /usr/local/bin/yt-dlp && \
3739 chmod a+rx /usr/local/bin/yt-dlp && \
3840 yt-dlp -U && \
3941 # Install Apprise
Original file line number Diff line number Diff line change @@ -94,13 +94,17 @@ RUN apt-get update -y && \
9494 python3 \
9595 pipx \
9696 jq \
97+ # unzip is needed for Deno
98+ unzip \
9799 procps && \
100+ # Install Deno - required for YouTube downloads (See yt-dlp#14404)
101+ curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh -s -- -y --no-modify-path && \
98102 # Apprise
99103 export PIPX_HOME=/opt/pipx && \
100104 export PIPX_BIN_DIR=/usr/local/bin && \
101105 pipx install apprise && \
102106 # yt-dlp
103- curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && \
107+ curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -o /usr/local/bin/yt-dlp && \
104108 chmod a+rx /usr/local/bin/yt-dlp && \
105109 yt-dlp -U && \
106110 # Set the locale
You can’t perform that action at this time.
0 commit comments