Install latest yt-dlp release in Docker image

This commit is contained in:
Dymas
2026-05-21 19:05:21 +02:00
parent 9648b4f6e4
commit bb4983c928
4 changed files with 13 additions and 3 deletions
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## 0.33.1 - 2026-05-21
- Updated the Docker image build to install `yt-dlp` directly from the latest upstream GitHub release and verify the binary during the image build.
## 0.33.0 - 2026-05-21
- Added Discord webhook notifications with Config page controls for the webhook URL, selectable notification events, and a one-click test action.
+5
View File
@@ -3,6 +3,7 @@ FROM python:3.12-slim
ARG ANI_CLI=https://github.com/pystardust/ani-cli.git
ARG ANI_CLI_BRANCH=master
ARG ANI_CLI_WEB=https://gitea.coreplay.eu/Dymas/ani-cli-web.git
ARG YT_DLP_RELEASE_URL=https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp
ENV DEBIAN_FRONTEND=noninteractive \
ANI_CLI_REPO=${ANI_CLI} \
@@ -41,6 +42,10 @@ RUN git clone --depth 1 --branch "${ANI_CLI_BRANCH}" "${ANI_CLI}" /tmp/ani-cli-s
esac \
&& rm -rf /tmp/ani-cli-src
RUN curl -fL "${YT_DLP_RELEASE_URL}" -o /usr/local/bin/yt-dlp \
&& chmod 0755 /usr/local/bin/yt-dlp \
&& yt-dlp --version
RUN git clone --depth 1 "${ANI_CLI_WEB}" /app \
&& rm -rf /app/.git
+3 -2
View File
@@ -2,7 +2,7 @@
Small local web UI for a system-wide `ani-cli` install.
Current version: `0.33.0`
Current version: `0.33.1`
## Project Layout
@@ -52,7 +52,7 @@ Default bind address is `127.0.0.1:8421`.
## Docker
The image installs `ani-cli` system-wide and clones `ani-cli-web` into `/app` during build.
The image installs `ani-cli` system-wide, downloads the latest upstream `yt-dlp` release binary from GitHub, and clones `ani-cli-web` into `/app` during build.
Default build args:
@@ -106,6 +106,7 @@ USER_UID="$(id -u)" USER_GID="$(id -g)" docker compose up --build -d
Container notes:
- `ani-cli` is installed at `/usr/local/bin/ani-cli`.
- `yt-dlp` is installed at `/usr/local/bin/yt-dlp` from the latest GitHub release during build.
- `ani-cli-web` runs from `/app`.
- Downloads go to `/downloads`.
- App state lives in `/app/.ani-cli-web`.
+1 -1
View File
@@ -1 +1 @@
0.33.0
0.33.1