From dd84590ac71aa96935d94619dc2a9f0916244511 Mon Sep 17 00:00:00 2001 From: Evan Fiordeliso Date: Mon, 1 Jan 2024 15:22:58 -0500 Subject: [PATCH] Fix ytdlp version in dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d3c5b46..a19b7bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ ARG GOLANG_VERSION="1.20.11" ARG DEBIAN_VERSION="bookworm" -ARG YTDLP_VERSION="2023.12.30" FROM golang:${GOLANG_VERSION}-${DEBIAN_VERSION} AS build @@ -28,12 +27,14 @@ RUN go build \ FROM python:${DEBIAN_VERSION} +ARG YTDLP_VERSION="2023.12.30" + WORKDIR /app # hadolint ignore=DL3008 RUN apt-get update \ && apt-get install --no-install-recommends -y wget \ - && wget --progress=dot:giga "https://github.com/yt-dlp/yt-dlp/releases/download/$YTDLP_VERSION/yt-dlp" \ + && wget --progress=dot:giga "https://github.com/yt-dlp/yt-dlp/releases/download/${YTDLP_VERSION}/yt-dlp" \ && install -pm755 yt-dlp /usr/bin/yt-dlp \ && apt-get clean && rm -rf /var/lib/apt/lists/*