re-stream/Dockerfile

25 lines
546 B
Text
Raw Permalink Normal View History

FROM alpine:3.7
2018-02-14 22:38:00 +00:00
RUN set -ex \
&& apk --no-cache add \
bash \
build-base \
curl \
ffmpeg \
libffi-dev \
openssl-dev \
py2-pip \
python-dev \
&& pip install \
"streamlink==0.14.2" \
&& curl -sSfLo /usr/local/bin/dumb-init "https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64" \
2018-02-14 22:38:00 +00:00
&& chmod +x /usr/local/bin/dumb-init \
&& apk --no-cache del \
build-base \
curl \
python-dev
2018-02-14 22:38:00 +00:00
COPY wrap.sh /usr/local/bin/
2018-02-14 22:38:00 +00:00
ENTRYPOINT ["/usr/local/bin/wrap.sh"]