use latest youtube-dl

This commit is contained in:
Andy 2017-04-28 12:00:21 +02:00
parent f5cced1182
commit 24ee1d84d7
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

View File

@ -5,7 +5,7 @@ MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \ RUN apt-get update && \
apt-get -y install python3 virtualenv mpv paxctl && \ apt-get -y --no-install-recommends install python3 virtualenv mpv paxctl && \
apt-get clean && \ apt-get clean && \
rm -rf -- /var/lib/apt/lists rm -rf -- /var/lib/apt/lists
@ -25,7 +25,8 @@ WORKDIR /opt
RUN virtualenv -p python3 venv && \ RUN virtualenv -p python3 venv && \
. venv/bin/activate && \ . venv/bin/activate && \
pip install --upgrade pip && \ pip install --upgrade pip && \
pip install mps-youtube youtube-dl && \ pip install --upgrade https://github.com/rg3/youtube-dl/archive/master.zip && \
pip install mps-youtube && \
deactivate deactivate
# Make mps-youtube grsec friendly # Make mps-youtube grsec friendly