2015-07-05 13:53:58 +08:00
|
|
|
#
|
|
|
|
# Dockerfile for youtube-dl
|
|
|
|
#
|
|
|
|
|
2021-04-07 12:36:03 +08:00
|
|
|
FROM python:3.9-alpine
|
2017-05-08 07:05:07 +08:00
|
|
|
MAINTAINER kev <noreply@easypi.pro>
|
2015-07-05 13:53:58 +08:00
|
|
|
|
2016-06-16 22:14:54 +08:00
|
|
|
RUN set -xe \
|
|
|
|
&& apk add --no-cache ca-certificates \
|
|
|
|
ffmpeg \
|
2016-06-18 13:02:18 +08:00
|
|
|
openssl \
|
2018-10-04 21:19:36 +03:00
|
|
|
aria2 \
|
2021-07-02 01:02:49 +05:30
|
|
|
&& pip3 install --no-cache-dir youtube-dl
|
2019-11-02 15:11:29 +01:00
|
|
|
|
|
|
|
# Try to run it so we know it works
|
|
|
|
RUN youtube-dl --version
|
2015-07-05 13:53:58 +08:00
|
|
|
|
|
|
|
WORKDIR /data
|
|
|
|
|
|
|
|
ENTRYPOINT ["youtube-dl"]
|
|
|
|
CMD ["--help"]
|