Skip to content

Commit

Permalink
dockerfile: source youtube-dl from alpine repos
Browse files Browse the repository at this point in the history
  • Loading branch information
jtagcat authored and mxpv committed Nov 12, 2020
1 parent 8d8832e commit d7885eb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit d7885eb

Please sign in to comment.