2015-07-05 07:53:58 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for youtube-dl
|
|
|
|
#
|
|
|
|
|
2021-04-07 06:36:03 +02:00
|
|
|
FROM python:3.9-alpine
|
2021-11-17 05:33:02 +02:00
|
|
|
MAINTAINER EasyPi Software Foundation
|
2015-07-05 07:53:58 +02:00
|
|
|
|
2016-06-16 16:14:54 +02:00
|
|
|
RUN set -xe \
|
|
|
|
&& apk add --no-cache ca-certificates \
|
|
|
|
ffmpeg \
|
2016-06-18 07:02:18 +02:00
|
|
|
openssl \
|
2018-10-04 20:19:36 +02:00
|
|
|
aria2 \
|
2021-07-01 21:32:49 +02:00
|
|
|
&& pip3 install --no-cache-dir youtube-dl
|
2019-11-02 16:11:29 +02:00
|
|
|
|
|
|
|
# Try to run it so we know it works
|
|
|
|
RUN youtube-dl --version
|
2015-07-05 07:53:58 +02:00
|
|
|
|
|
|
|
WORKDIR /data
|
|
|
|
|
|
|
|
ENTRYPOINT ["youtube-dl"]
|
|
|
|
CMD ["--help"]
|