2018-12-10 23:53:27 +01:00
|
|
|
# using edge to get ffmpeg-4.x
|
|
|
|
# using testing repo to get pycryptodome
|
|
|
|
FROM alpine:edge
|
|
|
|
MAINTAINER spaam
|
2019-01-04 23:43:37 +01:00
|
|
|
|
|
|
|
COPY dist/*.whl .
|
|
|
|
|
2018-12-10 23:53:27 +01:00
|
|
|
RUN set -xe \
|
|
|
|
&& echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories \
|
|
|
|
&& apk add --no-cache \
|
|
|
|
ca-certificates \
|
|
|
|
python3 \
|
|
|
|
py3-pip \
|
|
|
|
rtmpdump \
|
|
|
|
py3-pycryptodome \
|
|
|
|
ffmpeg \
|
2019-01-04 23:43:37 +01:00
|
|
|
&& python3 -m pip install *.whl \
|
|
|
|
&& rm -f *.whl
|
2018-12-10 23:53:27 +01:00
|
|
|
|
|
|
|
WORKDIR /data
|
|
|
|
|
|
|
|
ENTRYPOINT ["python3", "/usr/bin/svtplay-dl"]
|
|
|
|
CMD ["--help"]
|