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/*