1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
dockerfiles/youtube/youtube-dl/Dockerfile
Jan Pobořil 95477fe399
Removed version constrain
youtube-dl is very sensitive to outdating, so it is better to have it always updated.

Added test so receipe will fail if not installed correctly.
2019-11-02 15:11:29 +01:00

23 lines
431 B
Docker

#
# Dockerfile for youtube-dl
#
FROM alpine
MAINTAINER kev <noreply@easypi.pro>
RUN set -xe \
&& apk add --no-cache ca-certificates \
ffmpeg \
openssl \
python3 \
aria2 \
&& pip3 install youtube-dl
# Try to run it so we know it works
RUN youtube-dl --version
WORKDIR /data
ENTRYPOINT ["youtube-dl"]
CMD ["--help"]