From e6ff59ff187425ae54b8bb7046122690bc387e73 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Tue, 3 Jun 2025 20:04:40 +0200 Subject: [PATCH] get latest version of yt-dlp --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2fd3405..fe562f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,12 +54,15 @@ RUN apk update && apk add --no-cache \ openssl \ linux-headers \ supervisor \ - yt-dlp \ && rm -rf /tmp/* /var/cache/apk/* RUN docker-php-ext-configure zip && docker-php-ext-install zip RUN docker-php-ext-install gd pdo pdo_mysql zip +# Install latest version of the linux binary of yt-dlp into /bin/yt-dlp +# Get the file from https://github.com/yt-dlp/yt-dlp-master-builds/releases/latest/download/yt-dlp +RUN curl -L https://github.com/yt-dlp/yt-dlp-master-builds/releases/latest/download/yt-dlp -o /bin/yt-dlp \ + && chmod +x /bin/yt-dlp # Get latest Composer COPY --from=composer:latest /usr/bin/composer /usr/bin/composer