From d7885ebfda066da44c4d60f39672112f9f40d877 Mon Sep 17 00:00:00 2001 From: jtagcat Date: Thu, 5 Nov 2020 18:22:48 +0200 Subject: [PATCH] dockerfile: source youtube-dl from alpine repos --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ded06b9..8c0ccf0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ FROM alpine:3.10 WORKDIR /app/ -RUN wget -O /usr/bin/youtube-dl https://github.com/ytdl-org/youtube-dl/releases/latest/download/youtube-dl && \ - chmod +x /usr/bin/youtube-dl && \ - apk --no-cache add ca-certificates python ffmpeg tzdata + +RUN apk --no-cache add ca-certificates python ffmpeg tzdata +# see #191 for youtube-dl related questions +RUN apk --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main add youtube-dl + COPY podsync /app/podsync CMD ["/app/podsync"]