From 8f9119d566001d0459734e3bec5a7e59dd4b8213 Mon Sep 17 00:00:00 2001 From: Evan Fiordeliso Date: Mon, 1 Jan 2024 15:17:21 -0500 Subject: [PATCH] Switch from standard debian image to python image for yt-dlp --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 807570c..d3c5b46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,15 +26,15 @@ RUN go build \ -X \"$VERSION_PKG.BuiltBy=$BUILT_BY\" \ " -o /ytdl-web . -FROM debian:${DEBIAN_VERSION} +FROM python:${DEBIAN_VERSION} 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_linux" \ - && install -pm755 yt-dlp_linux /usr/bin/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/* COPY --from=build /ytdl-web ./