diff --git a/Dockerfile b/Dockerfile index 502e4e6..3a2da79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG YTDLP_VERSION="2023.03.04" +ARG YTDLP_VERSION=2023.03.04 # trunk-ignore(hadolint/DL3007): Chainguard recommends latest FROM cgr.dev/chainguard/static:latest @@ -6,8 +6,7 @@ FROM cgr.dev/chainguard/static:latest WORKDIR /app # Install yt-dlp -ARG YTDLP_VERSION=2023.03.04 -ADD https://github.com/yt-dlp/yt-dlp/releases/download/{YTDLP_VERSION}/yt-dlp /usr/local/bin/ +ADD https://github.com/yt-dlp/yt-dlp/releases/download/${YTDLP_VERSION}/yt-dlp /usr/local/bin/ # Install ffmpeg COPY --from=mwader/static-ffmpeg:6.0 /ffmpeg /usr/local/bin/