From b07cbeabd8986dc8493928b8a39b46c50259a135 Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 16 Jun 2016 22:14:54 +0800 Subject: [PATCH] update youtube-dl --- youtube/youtube-dl/Dockerfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/youtube/youtube-dl/Dockerfile b/youtube/youtube-dl/Dockerfile index e4281f5..9c763f9 100644 --- a/youtube/youtube-dl/Dockerfile +++ b/youtube/youtube-dl/Dockerfile @@ -5,13 +5,12 @@ FROM alpine MAINTAINER kev -RUN apk add -U ca-certificates \ - ffmpeg \ - python \ - && rm -rf /var/cache/apk/* \ +RUN set -xe \ + && apk add --no-cache ca-certificates \ + ffmpeg \ + python \ && wget -O- https://bootstrap.pypa.io/get-pip.py | python \ - && pip install youtube-dl \ - && mkdir -p /data + && pip install youtube-dl WORKDIR /data