mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
dockerfile: source youtube-dl from alpine repos
This commit is contained in:
+5
-3
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user