From 5958ca14adfd41fca0c3589fb6e13ca45079f585 Mon Sep 17 00:00:00 2001 From: Paul DeCarlo Date: Wed, 11 Sep 2019 12:47:14 -0500 Subject: [PATCH] Fix Youtube Downloader --- modules/YoloModule/Dockerfile.arm64v8 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/modules/YoloModule/Dockerfile.arm64v8 b/modules/YoloModule/Dockerfile.arm64v8 index 7631300..93fa589 100644 --- a/modules/YoloModule/Dockerfile.arm64v8 +++ b/modules/YoloModule/Dockerfile.arm64v8 @@ -43,8 +43,16 @@ RUN cp /usr/local/src/darknet/libdarknet.so /app/libdarknet.so COPY /build/requirements.txt ./ RUN pip3 install --upgrade pip RUN pip3 install --no-cache-dir -r requirements.txt -RUN pip3 install tornado==4.5.3 trollius && \ - pip3 install -U youtube-dl +RUN pip3 install tornado==4.5.3 trollius + +RUN apt-get update && \ + apt-get install -y --no-install-recommends zip pandoc && \ + rm -rf /var/lib/apt/lists/* + +RUN git clone --depth=1 https://github.com/ytdl-org/youtube-dl.git && \ + cd youtube-dl && \ + make && \ + make install ADD /app/ .