-
-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dockerfile: source youtube-dl from alpine repos
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |