Peertube-dl/Dockerfile

25 lines
497 B
Docker

# Author: @ale@ale.manalejandro.com Fixes by: Sergiotarxz. LICENSE: AGPLv3
FROM debian:sid
COPY . /peertube-dl
WORKDIR /peertube-dl
RUN apt update && apt -y install perl \
build-essential \
libwww-perl \
liburi-encode-perl \
libjson-perl \
liblwp-protocol-https-perl \
libtest-mockobject-perl \
libtest-most-perl \
libmojolicious-perl \
libfile-mimeinfo-perl \
cpanminus \
duktape-dev \
&& apt clean \
&& perl Makefile.PL \
&& make \
&& make test \
&& make install
ENTRYPOINT [ "peertube-dl" ]