Install latest yt-dlp release in Docker image
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# 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
|
## 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.
|
- Added Discord webhook notifications with Config page controls for the webhook URL, selectable notification events, and a one-click test action.
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ FROM python:3.12-slim
|
|||||||
ARG ANI_CLI=https://github.com/pystardust/ani-cli.git
|
ARG ANI_CLI=https://github.com/pystardust/ani-cli.git
|
||||||
ARG ANI_CLI_BRANCH=master
|
ARG ANI_CLI_BRANCH=master
|
||||||
ARG ANI_CLI_WEB=https://gitea.coreplay.eu/Dymas/ani-cli-web.git
|
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 \
|
ENV DEBIAN_FRONTEND=noninteractive \
|
||||||
ANI_CLI_REPO=${ANI_CLI} \
|
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 \
|
esac \
|
||||||
&& rm -rf /tmp/ani-cli-src
|
&& 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 \
|
RUN git clone --depth 1 "${ANI_CLI_WEB}" /app \
|
||||||
&& rm -rf /app/.git
|
&& rm -rf /app/.git
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Small local web UI for a system-wide `ani-cli` install.
|
Small local web UI for a system-wide `ani-cli` install.
|
||||||
|
|
||||||
Current version: `0.33.0`
|
Current version: `0.33.1`
|
||||||
|
|
||||||
## Project Layout
|
## Project Layout
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ Default bind address is `127.0.0.1:8421`.
|
|||||||
|
|
||||||
## Docker
|
## 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:
|
Default build args:
|
||||||
|
|
||||||
@@ -106,6 +106,7 @@ USER_UID="$(id -u)" USER_GID="$(id -g)" docker compose up --build -d
|
|||||||
Container notes:
|
Container notes:
|
||||||
|
|
||||||
- `ani-cli` is installed at `/usr/local/bin/ani-cli`.
|
- `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`.
|
- `ani-cli-web` runs from `/app`.
|
||||||
- Downloads go to `/downloads`.
|
- Downloads go to `/downloads`.
|
||||||
- App state lives in `/app/.ani-cli-web`.
|
- App state lives in `/app/.ani-cli-web`.
|
||||||
|
|||||||
Reference in New Issue
Block a user