add youtube-dl

This commit is contained in:
2020-07-23 11:21:20 +08:00
parent 3c16eca159
commit 90a7dd019f
2 changed files with 22 additions and 0 deletions

8
youtube-dl/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM python:3-alpine
MAINTAINER Newnius <newnius.cn@gmail.com>
RUN wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl && \
chmod a+rx /usr/local/bin/youtube-dl
CMD ["youtube-dl", "--help"]